1 | <?php |
||
7 | final class LazyRpcClient implements RpcClientInterface |
||
8 | { |
||
9 | /** @var LazyResponseCollection */ |
||
10 | private $collection; |
||
11 | /** @var RpcClientInterface */ |
||
12 | private $decoratedClient; |
||
13 | |||
14 | /** |
||
15 | * LazyRpcClient constructor. |
||
16 | * |
||
17 | * @param RpcClientInterface $decoratedClient |
||
18 | */ |
||
19 | 4 | public function __construct(RpcClientInterface $decoratedClient) |
|
24 | |||
25 | 4 | public function invoke($calls) |
|
42 | } |
||
43 |