public function __construct(SessionInterface $session, OptionsBag $options) { $this->session = $session; $this->options = $options; }