You are here

public function MockHandler::count in Lockr 7.3

Returns the number of remaining items in the queue.

Return value

int

File

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

Class

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

Namespace

GuzzleHttp\Handler

Code

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