public function MockApi::getHistoryUrl in Auth0 Single Sign On 8.2
Get the URL from a mocked request.
Parameters
integer $parse_component Component for parse_url, null to return complete URL.:
Return value
string
1 call to MockApi::getHistoryUrl()
- MockApi::getHistoryQuery in vendor/
auth0/ auth0-php/ tests/ MockApi.php - Get the URL query from a mocked request.
File
- vendor/
auth0/ auth0-php/ tests/ MockApi.php, line 86
Class
- MockApi
- Class MockApi
Namespace
Auth0\TestsCode
public function getHistoryUrl($parse_component = null) {
$request = $this
->getHistory();
$request_url = $request
->getUri()
->__toString();
return is_null($parse_component) ? $request_url : parse_url($request_url, $parse_component);
}