Conditions | 2 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
42 | public function execute(): bool |
||
43 | { |
||
44 | $options = $this->getOptions( |
||
45 | [ |
||
46 | 'force-flush-cache' => null |
||
47 | ] |
||
48 | ); |
||
49 | $command = sprintf( |
||
50 | $this->getConsoleCommand('cache:flush', $options).'%s', |
||
51 | !empty($options['force-flush-cache']) ? 'true' : '' |
||
52 | ); |
||
53 | |||
54 | return $this->executeCommand($command); |
||
55 | } |
||
56 | } |
||
57 |