/** * @param Session $session * @param array $parameters * @param RouterInterface $router * @param AddressFactoryInterface $addressFactory */ public function __construct(Session $session, array $parameters, RouterInterface $router, AddressFactoryInterface $addressFactory) { parent::__construct($session, $parameters, $router); $this->addressFactory = $addressFactory; }
/** * @param Session $session * @param array $parameters * @param RouterInterface $router * @param TableAccessorInterface $tableAccessor */ public function __construct(Session $session, array $parameters, RouterInterface $router, TableAccessorInterface $tableAccessor) { parent::__construct($session, $parameters, $router); $this->tableAccessor = $tableAccessor; }
/** * @param Session $session * @param array $parameters * @param RouterInterface $router * @param string $resourceName */ public function __construct(Session $session, array $parameters, RouterInterface $router, $resourceName) { parent::__construct($session, $parameters, $router); $this->resourceName = strtolower($resourceName); }
/** * @param Session $session * @param array $parameters * @param RouterInterface $router * @param string $routeName */ public function __construct(Session $session, array $parameters, RouterInterface $router, $routeName) { parent::__construct($session, $parameters, $router); $this->routeName = $routeName; }