Esempio n. 1
0
 public function __construct(array $data)
 {
     parent::__construct($data);
     if ($this->method == 'release') {
         $this->deployTo = $this->path . '/' . $this->releaseDir;
         $this->currentRelease = $this->path . '/' . $this->symlink;
     } else {
         $this->deployTo = $this->path;
         $this->currentRelease = $this->path;
     }
 }
Esempio n. 2
0
 public function __construct(array $server)
 {
     parent::__construct($server);
     $this->strategy = explode(',', $server['strategy']);
 }