public function __construct($error = null) { parent::__construct(); if (isset($error)) { $this->setError($error); } }
public function isRender() { if (empty($this->renderer)) { return false; } return $this->renderer->isRender(); }
public function __construct(Uri $uri) { parent::__construct(); $this->uri = $uri; }
public function __construct(string $view = null, string $layout = null) { parent::__construct(); $this->setView($view)->setLayout($layout); }