Ejemplo n.º 1
0
 private function initDI()
 {
     DI::set('config', function () {
         return $this->diConfig();
     });
     DI::set('db', function () {
         return $this->diDb();
     });
 }