protected function MockApi::getHistory in Auth0 Single Sign On 8.2
Get a Guzzle history record from an array populated by Middleware::history().
Return value
1 call to MockApi::getHistory()
- MockApi::getHistoryUrl in vendor/
auth0/ auth0-php/ tests/ MockApi.php - Get the URL from a mocked request.
File
- vendor/
auth0/ auth0-php/ tests/ MockApi.php, line 149
Class
- MockApi
- Class MockApi
Namespace
Auth0\TestsCode
protected function getHistory() {
$requestHistoryIndex = $this->historyIndex - 1;
return $this->requestHistory[$requestHistoryIndex]['request'];
}