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

fire() public méthode

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