path = $path; $this->localBasePath = $localBasePath; $this->remoteBasePath = $remoteBasePath; } /** @return string */ public function getLocalPath() { return $this->localBasePath === '' ? $this->path : "{$this->localBasePath}/{$this->path}"; } /** @return string */ public function getRemotePath() { return $this->remoteBasePath === '' ? $this->path : "{$this->remoteBasePath}/{$this->path}"; } /** @return string */ public function getLocalBasePath() { return $this->localBasePath; } /** @return string */ public function getRemoteBasePath() { return $this->remoteBasePath; } /** @return string */ public function getPath() { return $this->path; } }