Caffeinated\Modules\Console\Commands\ModuleOptimizeCommand::fire PHP Method

fire() public method

Execute the console command.
public fire ( ) : mixed
return mixed
    public function fire()
    {
        $this->info('Generating optimized module cache');
        $this->laravel['modules']->optimize();
        event('modules.optimized', [$this->laravel['modules']->all()]);
    }
ModuleOptimizeCommand