| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class DockerClientFacade extends AbstractFacade implements DockerClientFacadeInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @return array |
||
| 16 | */ |
||
| 17 | public function getCommands(): array |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $command |
||
| 24 | * |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function runDockerCompose(string $command) : string |
||
| 28 | { |
||
| 29 | return $this->getFactory()->createDockerCompose()->execute($command); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $command |
||
| 34 | * |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public function runDocker(string $command) : string |
||
| 40 | } |
||
| 41 | } |