Nwidart\Modules\Commands\MakeCommand::fire PHP Méthode

fire() public méthode

Execute the console command.
public fire ( ) : mixed
Résultat mixed
    public function fire()
    {
        $names = $this->argument('name');
        foreach ($names as $name) {
            with(new ModuleGenerator($name))->setFilesystem($this->laravel['files'])->setModule($this->laravel['modules'])->setConfig($this->laravel['config'])->setConsole($this)->setForce($this->option('force'))->setPlain($this->option('plain'))->generate();
        }
    }