예제 #1
0
파일: Router.php 프로젝트: rendix2/QW_MVS
 public function __construct()
 {
     // init
     $this->controller = 'Index';
     $this->method = 'index';
     $this->params = [];
     parent::__construct();
 }
예제 #2
0
 /**
  * Create instance with source path and "php" as fileExtension
  *
  * @param \SplFileInfo $sourcePath
  */
 public function __construct(\SplFileInfo $sourcePath)
 {
     parent::__construct($sourcePath, 'php');
 }