/** * @param Factory $factory <- */ function __construct(Factory $factory) { parent::__construct($factory); $this->router = $this->createBoxRouter(); $this->boxes = new BoxCollection(); $this->registerBoxes($this->boxes); }
/** * @param Factory $factory <- * @param WebApplication $app <- * @param CookieStore $cookies <- */ public function __construct(Factory $factory, WebApplication $app, CookieStore $cookies) { parent::__construct($factory); $this->cookies = $cookies; $this->app = $app; }
/** * @param Factory $factory <- * @param RepresenterRegistry $registry <- * @param \watoki\curir\cookie\CookieStore $cookies <- */ function __construct(Factory $factory, RepresenterRegistry $registry, CookieStore $cookies) { parent::__construct($factory); $this->registry = $registry; $this->cookies = $cookies; }