Nwidart\Modules\Commands\DumpCommand::fire PHP 메소드

fire() 공개 메소드

Execute the console command.
public fire ( ) : mixed
리턴 mixed
    public function fire()
    {
        $this->info('Generating optimized autoload modules.');
        if ($module = $this->argument('module')) {
            $this->dump($module);
        } else {
            foreach ($this->laravel['modules']->all() as $module) {
                $this->dump($module->getStudlyName());
            }
        }
    }