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