Method |
Description |
|
__construct ( array $queue = null, callable $onFulfilled = null, callable $onRejected = null ) |
The passed in value must be an array of
{@see Psr7\Http\Message\ResponseInterface} objects, Exceptions,
callables, or Promises. |
|
__invoke ( Psr\Http\Message\RequestInterface $request, array $options ) |
|
|
append ( ) |
Adds one or more variadic requests, exceptions, callables, or promises
to the queue. |
|
count ( ) : integer |
Returns the number of remaining items in the queue. |
|
createWithMiddleware ( array $queue = null, callable $onFulfilled = null, callable $onRejected = null ) : GuzzleHttp\HandlerStack |
Creates a new MockHandler that uses the default handler stack list of
middlewares. |
|
getLastOptions ( ) : array |
Get the last received request options. |
|
getLastRequest ( ) : Psr\Http\Message\RequestInterface |
Get the last received request. |
|