芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/masterminds/DumpCommand.php
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()); } } return 0; } public function dump($module) { $module = $this->laravel['modules']->findOrFail($module); $this->line("
Running for module
: {$module}"); chdir($module->getPath()); passthru('composer dump -o -n -q'); } /** * Get the console command arguments. * * @return array */ protected function getArguments() { return [ ['module', InputArgument::OPTIONAL, 'Module name.'], ]; } }