config = $config; } /** * @return string */ protected function generatePage() { $config = $this->config; $page = [ 'title' => $this->title, 'content' => $this->getPureContent(), 'language' => '', ]; $template = new Template($config); return $template->render('error', ['page' => $page, 'config' => $config]); } }