예제 #1
0
파일: App.php 프로젝트: haohong725/xmvc
 private function initDI()
 {
     DI::set('config', function () {
         return $this->diConfig();
     });
     DI::set('db', function () {
         return $this->diDb();
     });
 }