示例#1
0
 public function performTask()
 {
     $this->log(\Monolog\Logger::DEBUG, 'Stopping container [' . $this->getContainer()->getName() . ']');
     $lxc = new LxcManager($this->getEntityManager(), $this->getProcessRunner(), $this->getFilesystem());
     $lxc->stopProjectContainer($this->getContainer());
 }
 public function performTask()
 {
     $lxc = new LxcManager($this->getEntityManager(), $this->getProcessRunner(), $this->getFilesystem());
     $lxc->startContainer($this->getContainer());
 }
 public function performTask()
 {
     $this->log(\Monolog\Logger::DEBUG, 'Configuring container');
     $lxc = new LxcManager($this->getEntityManager(), $this->getProcessRunner(), $this->getFilesystem());
     $lxc->configureProjectContainer($this->getContainer());
 }
 public function performTask()
 {
     $this->log(\Monolog\Logger::DEBUG, 'Cloning container');
     $lxc = new LxcManager($this->getEntityManager(), $this->getProcessRunner(), $this->getFilesystem());
     $lxc->cloneProjectBranchContainer($this->getContainer(), $this->getContainer()->getCloneSource());
 }