/**
* Execute docker-compose commande
* @codeCoverageIgnore
* @param Command $command The command to execute.
*/
protected function execute($command)
{
if ($command->execute()) {
$output = $command->getOutput();
} else {
$output = $command->getError();
}
return array('output' => $output, 'code' => $command->getExitCode());
}