Skip to content

Commit e0097a8

Browse files
committed
Base path and url
1 parent fb190b9 commit e0097a8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/ApiEndpoint.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,22 @@ public function setBasePath($basePath)
2121
return $this;
2222
}
2323

24+
/**
25+
* @return string
26+
*/
27+
public function getBaseUrl()
28+
{
29+
return $this->_baseUrl;
30+
}
31+
32+
/**
33+
* @return string
34+
*/
35+
public function getBasePath()
36+
{
37+
return $this->_basePath;
38+
}
39+
2440
protected function _buildUrl($path)
2541
{
2642
return Path::buildUnix($this->_baseUrl, $this->_basePath, $path);

0 commit comments

Comments
 (0)