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; } }
public function __construct(array $server) { parent::__construct($server); $this->strategy = explode(',', $server['strategy']); }