protected getArtisan ( ) : Illuminate\Console\Application | ||
return | Illuminate\Console\Application |
protected function getArtisan()
{
if (is_null($this->artisan)) {
return $this->artisan = (new Artisan($this->app, $this->app->make('events'), $this->app->version()))->resolveCommands($this->getCommands());
}
return $this->artisan;
}