public function __construct(Twig $view, LoggerInterface $logger) { $this->view = $view; $this->logger = $logger; }