public function fire() { $this->info('Generating optimized module cache'); $this->laravel['modules']->optimize(); event('modules.optimized', [$this->laravel['modules']->all()]); }