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