示例#1
0
 /**
  * @param Factory $factory <-
  */
 function __construct(Factory $factory)
 {
     parent::__construct($factory);
     $this->router = $this->createBoxRouter();
     $this->boxes = new BoxCollection();
     $this->registerBoxes($this->boxes);
 }
示例#2
0
 /**
  * @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;
 }
示例#3
0
 /**
  * @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;
 }