@@ -11,12 +11,12 @@ discard block |
||
| 11 | 11 | |
| 12 | 12 | class ImportModuleCommand extends ContainerAwareCommand |
| 13 | 13 | { |
| 14 | - protected function configure() |
|
| 15 | - { |
|
| 16 | - $this |
|
| 17 | - ->setName('ribsadmin:import-module') |
|
| 18 | - ->setDescription('Import a module in ribs admin') |
|
| 19 | - /*->addArgument( |
|
| 14 | + protected function configure() |
|
| 15 | + { |
|
| 16 | + $this |
|
| 17 | + ->setName('ribsadmin:import-module') |
|
| 18 | + ->setDescription('Import a module in ribs admin') |
|
| 19 | + /*->addArgument( |
|
| 20 | 20 | 'name', |
| 21 | 21 | InputArgument::OPTIONAL, |
| 22 | 22 | 'Who do you want to greet?' |
@@ -27,12 +27,12 @@ discard block |
||
| 27 | 27 | InputOption::VALUE_NONE, |
| 28 | 28 | 'If set, the task will yell in uppercase letters' |
| 29 | 29 | )*/ |
| 30 | - ; |
|
| 31 | - } |
|
| 30 | + ; |
|
| 31 | + } |
|
| 32 | 32 | |
| 33 | - protected function execute(InputInterface $input, OutputInterface $output) |
|
| 34 | - { |
|
| 35 | - /*$name = $input->getArgument('name'); |
|
| 33 | + protected function execute(InputInterface $input, OutputInterface $output) |
|
| 34 | + { |
|
| 35 | + /*$name = $input->getArgument('name'); |
|
| 36 | 36 | if ($name) { |
| 37 | 37 | $text = 'Hello '.$name; |
| 38 | 38 | } else { |
@@ -43,6 +43,6 @@ discard block |
||
| 43 | 43 | $text = strtoupper($text); |
| 44 | 44 | }*/ |
| 45 | 45 | |
| 46 | - $output->writeln("Houra !"); |
|
| 47 | - } |
|
| 46 | + $output->writeln("Houra !"); |
|
| 47 | + } |
|
| 48 | 48 | } |