Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class DockerRestartCommand extends AbstractCommand |
||
16 | { |
||
17 | protected function configure() |
||
18 | { |
||
19 | $this |
||
20 | ->setName('docker:restart') |
||
21 | ->setDescription('Create a docker volume') |
||
22 | ->addArgument('container', InputArgument::REQUIRED, 'Container name or id'); |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @param \Symfony\Component\Console\Input\InputInterface $input |
||
27 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
28 | * |
||
29 | * @return int|null|void |
||
30 | * @throws \Core\Locator\Dynamic\ServiceNotParseable |
||
31 | */ |
||
32 | protected function execute(InputInterface $input, OutputInterface $output) |
||
43 | } |
||
44 | } |
||
47 | } |