예제 #1
0
 public function init($path)
 {
     $this->fix_gpc_magic();
     $app = new App();
     $app->init($path);
 }
예제 #2
0
파일: test.php 프로젝트: PHILIP-2014/Group
<?php

/*
 * 单元测试入口
 */
use core\Group\App\App;
$loader = (require __DIR__ . '/../vendor/autoload.php');
$loader->setUseIncludePath(true);
$app = new App();
$app->initSelf();
$app->registerServices();