You are here

public function MockHandler::getLastRequest in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php \GuzzleHttp\Handler\MockHandler::getLastRequest()

Get the last received request.

Return value

RequestInterface

File

vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php, line 127

Class

MockHandler
Handler that returns responses or throw exceptions from a queue.

Namespace

GuzzleHttp\Handler

Code

public function getLastRequest() {
  return $this->lastRequest;
}