/** * 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); }
/** * @return Application */ protected function createApp() { $this->app = (require __DIR__ . '/../../bootstrap/app.php'); $this->app->make(Kernel::class)->bootstrap(); return $this->app; }