| Total Complexity | 4 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class DockerClientBusinessFactory extends AbstractBusinessFactory |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @return \Nexus\DockerClient\Business\Model\DockerCompose |
||
| 22 | */ |
||
| 23 | public function createDockerCompose(): DockerComposeInterface |
||
| 24 | { |
||
| 25 | return new DockerCompose( |
||
| 26 | $this->getShellFacade(), |
||
| 27 | $this->getConfig()->getDockerComposeCommand() |
||
| 28 | ); |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return \Nexus\DockerClient\Business\Model\Docker |
||
| 33 | */ |
||
| 34 | public function createDocker(): DockerInterface |
||
| 39 | ); |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return array |
||
| 44 | */ |
||
| 45 | public function getCommandList(): array |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return \Nexus\Shell\Business\ShellFacade |
||
| 52 | */ |
||
| 53 | public function getShellFacade(): ShellFacade |
||
| 56 | } |
||
| 57 | } |