/** * Handle the command. * * @param InstallAllModules $command */ public function handle(InstallAllModules $command) { foreach ($this->modules->all() as $module) { $this->manager->install($module, $command->getSeed()); } }