private function BaseApiAbstract::normalizeUri in TMGMT Translator Smartling 8.2
Same name in this branch
- 8.2 api-sdk-php/src/BaseApiAbstract.php \Smartling\BaseApiAbstract::normalizeUri()
- 8.2 vendor/smartling/api-sdk-php/src/BaseApiAbstract.php \Smartling\BaseApiAbstract::normalizeUri()
Same name and namespace in other branches
- 8.4 vendor/smartling/api-sdk-php/src/BaseApiAbstract.php \Smartling\BaseApiAbstract::normalizeUri()
- 8.3 vendor/smartling/api-sdk-php/src/BaseApiAbstract.php \Smartling\BaseApiAbstract::normalizeUri()
Parameters
string $uri:
Return value
string
2 calls to BaseApiAbstract::normalizeUri()
- BaseApiAbstract::sendRequest in api-sdk-php/
src/ BaseApiAbstract.php - BaseApiAbstract::sendRequest in vendor/
smartling/ api-sdk-php/ src/ BaseApiAbstract.php
File
- api-sdk-php/
src/ BaseApiAbstract.php, line 328
Class
- BaseApiAbstract
- Class BaseApiAbstract
Namespace
SmartlingCode
private function normalizeUri($uri = '') {
return rtrim($this
->getBaseUrl(), '/') . '/' . ltrim($uri, '/');
}