private function initDI() { DI::set('config', function () { return $this->diConfig(); }); DI::set('db', function () { return $this->diDb(); }); }