/** * Get the Artisan console instance. * * @return \Illuminate\Console\Application */ protected function getArtisan() { if (!is_null($this->artisan)) { return $this->artisan; } $this->app->loadDeferredProviders(); $this->artisan = ConsoleApplication::make($this->app); return $this->artisan->boot(); }
/** * Get the Artisan console instance. * * @return \Illuminate\Console\Application */ protected function getWel() { if (!is_null($this->wel)) { return $this->wel; } $this->app->loadDeferredProviders(); $this->wel = ConsoleApplication::make($this->app); return $this->wel->boot(); }
/** * Boot the Console application. * * @return $this * @static */ public static function boot() { return \Illuminate\Console\Application::boot(); }