function config($name, $default = null) { $app = \Bootdi\App::getInstance(); return $app->make("config")->get($name, value($default)); }
public function testDi() { $this->assertEquals($this->app, $this->app->getInstance()); }