Conditions | 3 |
Paths | 4 |
Total Lines | 16 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | <?php |
||
32 | protected function execute(InputInterface $input, OutputInterface $output) |
||
33 | { |
||
34 | $names = (array)$input->getArgument('names'); |
||
35 | |||
36 | $response = ''; |
||
37 | foreach ($names as $name) { |
||
38 | $command = sprintf( |
||
39 | 'volume create %s', |
||
40 | $name |
||
41 | ); |
||
42 | |||
43 | $response .= $this->getFacade()->runDocker($command); |
||
44 | } |
||
45 | |||
46 | if ($output->isVerbose()) { |
||
47 | $output->writeln($response); |
||
48 | } |
||
52 | } |