public function RequestBuilder::getParams in Auth0 Single Sign On 8.2
Output a URL
Return value
string
1 call to RequestBuilder::getParams()
- RequestBuilder::getUrl in vendor/
auth0/ auth0-php/ src/ API/ Helpers/ RequestBuilder.php - Get the path and URL parameters of this request.
File
- vendor/
auth0/ auth0-php/ src/ API/ Helpers/ RequestBuilder.php, line 198
Class
- RequestBuilder
- Class RequestBuilder
Namespace
Auth0\SDK\API\HelpersCode
public function getParams() {
$paramsClean = [];
foreach ($this->params as $param => $value) {
if (!is_null($value) && '' !== $value) {
$paramsClean[] = sprintf('%s=%s', $param, $value);
}
}
return empty($paramsClean) ? '' : '?' . implode('&', $paramsClean);
}