| @@ 91-93 (lines=3) @@ | ||
| 88 | $output->writeln(sprintf("Module name transformed to to \"%s\"", $module), Output::VERBOSITY_VERY_VERBOSE); |
|
| 89 | ||
| 90 | ||
| 91 | if (!file_exists($projectLocation . '/app/modules/' . $module . '/config/module.xml')) { |
|
| 92 | throw new InvalidArgumentException(sprintf('Module "%s" does not seem to exist in "%s"', $module, implode(DIRECTORY_SEPARATOR, [$projectLocation, 'app', 'modules', $module]))); |
|
| 93 | } |
|
| 94 | ||
| 95 | if ($input->hasArgument('name') && $input->getArgument('name') != null) { |
|
| 96 | $controllerName = $input->getArgument('name'); |
|
| @@ 88-90 (lines=3) @@ | ||
| 85 | $output->writeln(sprintf("Module name transformed to to \"%s\"", $module), Output::VERBOSITY_VERY_VERBOSE); |
|
| 86 | ||
| 87 | ||
| 88 | if (!file_exists($projectLocation . '/app/modules/' . $module . '/config/module.xml')) { |
|
| 89 | throw new InvalidArgumentException(sprintf('Module "%s" does not seem to exist in "%s"', $module, implode(DIRECTORY_SEPARATOR, [$projectLocation, 'app', 'modules', $module]))); |
|
| 90 | } |
|
| 91 | ||
| 92 | if ($input->hasOption('controller') && $input->getOption('controller') != null) { |
|
| 93 | $controllerName = $input->getOption('controller'); |
|