public function __construct(ViewsService $views, Logger $logger) { $this->views = $views; $this->logger = $logger; }