for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Nexus\DockerClient\Business;
use Xervice\Core\Business\Model\Facade\AbstractFacade;
/**
* @method \Nexus\DockerClient\Business\DockerClientBusinessFactory getFactory()
* @method \Nexus\DockerClient\DockerClientConfig getConfig()
*/
class DockerClientFacade extends AbstractFacade implements DockerClientFacadeInterface
{
* @return array
public function getCommands(): array
return $this->getFactory()->getCommandList();
}
* @param string $command
*
* @return string
public function runDockerCompose(string $command) : string
return $this->getFactory()->createDockerCompose()->execute($command);
public function runDocker(string $command) : string
return $this->getFactory()->createDocker()->execute($command);