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