コード例 #1
0
ファイル: Error.php プロジェクト: janpoem/kephp
 public function __construct($error = null)
 {
     parent::__construct();
     if (isset($error)) {
         $this->setError($error);
     }
 }
コード例 #2
0
ファイル: Redirection.php プロジェクト: janpoem/kephp
 public function __construct(Uri $uri)
 {
     parent::__construct();
     $this->uri = $uri;
 }
コード例 #3
0
ファイル: View.php プロジェクト: janpoem/kephp
 public function __construct(string $view = null, string $layout = null)
 {
     parent::__construct();
     $this->setView($view)->setLayout($layout);
 }