Esempio n. 1
0
 /**
  * @return string
  */
 public function notFound() : string
 {
     $page = new HtmlPage();
     $page->getBody()->setContent('<h1>404 Not Found</h1>');
     return $page->render();
 }
Esempio n. 2
0
 /**
  * @return string
  */
 public function render() : string
 {
     $this->getBody()->setContent($this->phtmlRender());
     return parent::render();
 }