protected function __construct($config) { parent::__construct($config); }
/** * 初始化应用 * @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; }