Lines Matching refs:queue
17 private $queue = []; variable in GuzzleHttp\\Handler\\MockHandler
27 * @param array $queue Array of responses, callables, or exceptions.
34 array $queue = null, argument
38 return HandlerStack::create(new self($queue, $onFulfilled, $onRejected));
46 * @param array $queue
51 array $queue = null, argument
58 if ($queue) {
59 call_user_func_array([$this, 'append'], $queue);
65 if (!$this->queue) {
75 $response = array_shift($this->queue);
140 $this->queue[] = $value;
175 return count($this->queue);
180 $this->queue = [];