Total Complexity | 5 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | final class CliSubcommand extends Subcommand |
||
9 | { |
||
10 | /** |
||
11 | * The process' command string. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | const COMMAND = 'docker-compose exec -T -u nobody php vendor/bin/wp %s'; |
||
16 | |||
17 | /** |
||
18 | * Invoke the subcommand. |
||
19 | * |
||
20 | * @param InputInterface $input |
||
21 | * @param OutputInterface $output |
||
22 | * |
||
23 | * @return void |
||
24 | */ |
||
25 | public function __invoke(InputInterface $input, OutputInterface $output): void |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param array $options |
||
38 | * |
||
39 | * @return bool |
||
40 | */ |
||
41 | protected function hasUrlOption(array $options): bool |
||
52 |