Example #1
0
 /**
  * Resolve the given type from the container.
  * 
  * (Overriding Container::make)
  *
  * @param string $abstract
  * @param array $parameters
  * @return mixed 
  * @static 
  */
 public static function make($abstract, $parameters = array())
 {
     //Method inherited from \Illuminate\Foundation\Application
     return \App\Application::make($abstract, $parameters);
 }
Example #2
0
 /**
  * @return Application
  */
 protected function createApp()
 {
     $this->app = (require __DIR__ . '/../../bootstrap/app.php');
     $this->app->make(Kernel::class)->bootstrap();
     return $this->app;
 }