Esempio n. 1
0
 /**
  * @param Suite $suite
  * @return array
  */
 protected function generateDockerComposeFiles(Suite $suite)
 {
     /**
      * @var Service $service
      */
     $dockerComposeFileContent = array();
     foreach ($suite->getServices() as $serviceName => $service) {
         $dockerComposeFileContent[$serviceName] = $service->getDockerComposeContent();
     }
     $this->saveInitShFile($dockerComposeFileContent);
     $this->saveDockerComposeFile($dockerComposeFileContent);
 }