コード例 #1
0
ファイル: Router.php プロジェクト: rendix2/QW_MVS
 public function __destruct()
 {
     $this->controller = NULL;
     $this->method = NULL;
     $this->params = NULL;
     parent::__destruct();
 }
コード例 #2
0
ファイル: IncludeRouter.php プロジェクト: pklink/file-router
 /**
  * Create instance with source path and "php" as fileExtension
  *
  * @param \SplFileInfo $sourcePath
  */
 public function __construct(\SplFileInfo $sourcePath)
 {
     parent::__construct($sourcePath, 'php');
 }
コード例 #3
0
ファイル: Router.php プロジェクト: lemmon/router
 public function getSelf(...$args) : string
 {
     return $this->_self ? $this->to($this->_self, ...$args) : parent::getSelf(...$args);
 }