/** * @param Session $session * @param array $parameters * @param RouterInterface $router */ public function __construct(Session $session, array $parameters, RouterInterface $router) { parent::__construct($session, $parameters); $this->router = $router; }
/** * @param Session $session * @param array $parameters * @param RepositoryInterface $securityTokenRepository */ public function __construct(Session $session, array $parameters, RepositoryInterface $securityTokenRepository) { parent::__construct($session, $parameters); $this->securityTokenRepository = $securityTokenRepository; }