Nwidart\Modules\Commands\PublishConfigurationCommand::fire PHP Method

fire() public method

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