Nwidart\Modules\Commands\PublishMigrationCommand::fire PHP Метод

fire() публичный Метод

Execute the console command.
public fire ( ) : mixed
Результат 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