Laravel\Lumen\Console\Kernel::getArtisan PHP Méthode

getArtisan() protected méthode

Get the Artisan application instance.
protected getArtisan ( ) : Illuminate\Console\Application
Résultat 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;
    }