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

fire() public méthode

Execute the console command.
public fire ( ) : mixed
Résultat mixed
    public function fire()
    {
        if ($name = $this->argument('module')) {
            $module = $this->laravel['modules']->findOrFail($name);
            $this->publish($module);
            return;
        }
        foreach ($this->laravel['modules']->enabled() as $module) {
            $this->publish($module);
        }
    }
PublishMigrationCommand