1 | <?php |
||
8 | final class ExtraLazyResponseCollection implements \IteratorAggregate, ResponseCollectionInterface |
||
9 | { |
||
10 | /** @var LazyResponseCollection */ |
||
11 | private $collection; |
||
12 | |||
13 | /** |
||
14 | * ExtraLazyResponseCollection constructor. |
||
15 | * |
||
16 | * @param LazyResponseCollection $collection |
||
17 | */ |
||
18 | 4 | public function __construct(LazyResponseCollection $collection) |
|
22 | |||
23 | /** {@inheritdoc} */ |
||
24 | 2 | public function getIterator() |
|
28 | |||
29 | /** |
||
30 | * @return LazyResponseCollection |
||
31 | */ |
||
32 | 4 | public function getInnerCollection() |
|
36 | |||
37 | /** {@inheritdoc} */ |
||
38 | 1 | public function getResponse(RpcRequestInterface $request) |
|
42 | } |
||
43 |