| 1 | <?php |
||
| 7 | final class ProfiledClient implements RpcClientInterface |
||
| 8 | { |
||
| 9 | /** @var RpcClientInterface */ |
||
| 10 | private $client; |
||
| 11 | /** @var ProfiledClientStorage */ |
||
| 12 | private $profiler; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * ProfiledClient constructor. |
||
| 16 | * |
||
| 17 | * @param RpcClientInterface $client |
||
| 18 | * @param ProfiledClientStorage $profiler |
||
| 19 | */ |
||
| 20 | 2 | public function __construct(RpcClientInterface $client, ProfiledClientStorage $profiler) |
|
| 25 | |||
| 26 | /** {@inheritdoc} */ |
||
| 27 | 2 | public function invoke($calls) |
|
| 33 | } |
||
| 34 |