diff --git a/src/ApiEndpoint.php b/src/ApiEndpoint.php index 4458061..f1b2331 100644 --- a/src/ApiEndpoint.php +++ b/src/ApiEndpoint.php @@ -21,6 +21,22 @@ public function setBasePath($basePath) return $this; } + /** + * @return string + */ + public function getBaseUrl() + { + return $this->_baseUrl; + } + + /** + * @return string + */ + public function getBasePath() + { + return $this->_basePath; + } + protected function _buildUrl($path) { return Path::buildUnix($this->_baseUrl, $this->_basePath, $path);