예제 #1
0
 public function __construct(Page $c)
 {
     parent::__construct();
     $this->c = $c;
     $this->view = new PageView($this->c);
     $this->set('html', Application::getFacadeApplication()->make(HTML::class));
 }
예제 #2
0
 /**
  * Usage constructor.
  * @param \Doctrine\ORM\EntityManagerInterface $manager
  */
 public function __construct(EntityManagerInterface $manager)
 {
     $this->manager = $manager;
     parent::__construct();
 }