public function __construct(Environment $environment) { $this->view = new View(); $this->environment = $environment; }