示例#1
0
文件: Bin.php 项目: ZhuJingfa/HuiLib
 protected function __construct($config)
 {
     parent::__construct($config);
 }
示例#2
0
 /**
  * 初始化应用
  * @return \HuiLib\App\AppBase
  */
 public function createApp($config)
 {
     $this->application = \HuiLib\App\AppBase::factory($this->runMethod, $config);
     Front::getInstance()->setApp($this->application);
     return $this->application;
 }