You are here

public function MockHandler::count in Zircon Profile 8

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

Returns the number of remaining items in the queue.

Return value

int

File

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

Class

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

Namespace

GuzzleHttp\Handler

Code

public function count() {
  return count($this->queue);
}