芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/UpdateCommand.php
argument('module'); if ($name) { $this->updateModule($name); return 0; } /** @var \Nwidart\Modules\Module $module */ foreach ($this->laravel['modules']->getOrdered() as $module) { $this->updateModule($module->getName()); } return 0; } protected function updateModule($name) { $this->line('Running for module:
' . $name . '
'); $this->laravel['modules']->update($name); $this->info("Module [{$name}] updated successfully."); } /** * Get the console command arguments. * * @return array */ protected function getArguments() { return [ ['module', InputArgument::OPTIONAL, 'The name of module will be updated.'], ]; } }