mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-24 18:13:00 +01:00
Tightening MockPlugin
This commit is contained in:
parent
bad1f28eb8
commit
c263151017
@ -16,10 +16,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
class MockPlugin extends AbstractHasDispatcher implements EventSubscriberInterface, \Countable
|
||||
{
|
||||
/** @var array Array of mock responses / exceptions */
|
||||
protected $queue = [];
|
||||
private $queue = [];
|
||||
|
||||
/** @var bool Whether or not to consume an entity body when a mock response is served */
|
||||
protected $readBodies;
|
||||
private $readBodies;
|
||||
|
||||
/**
|
||||
* @param array $items Array of responses or exceptions to queue
|
||||
|
Loading…
x
Reference in New Issue
Block a user