/** * Get the Artisan console instance. * * @return \Illuminate\Console\Application */ protected function getArtisan() { if (!is_null($this->artisan)) { return $this->artisan; } $this->app->loadDeferredProviders(); return $this->artisan = ConsoleApplication::start($this->app); }
/** * 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(); }
/** * Load and boot all of the remaining deferred providers. * * @return void * @static */ public static function loadDeferredProviders() { \Illuminate\Foundation\Application::loadDeferredProviders(); }