| 1 | <?php |
||
| 9 | final class RpcMockClient implements RpcClientInterface, \Countable |
||
| 10 | { |
||
| 11 | private $queue = []; |
||
| 12 | |||
| 13 | /** {@inheritdoc} */ |
||
| 14 | 3 | public function invoke($calls) |
|
| 30 | |||
| 31 | 3 | public function push(RpcResponseInterface $response, callable $filter = null) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | 1 | public function getQueue() |
|
| 43 | |||
| 44 | /** {@inheritdoc} */ |
||
| 45 | public function count() |
||
| 49 | |||
| 50 | 3 | private function call(RpcRequestInterface $request) |
|
| 66 | } |
||
| 67 |