| 1 | <?php | ||
| 8 | class ProfiledClient implements RpcClientInterface | ||
| 9 | { | ||
| 10 | /** @var RpcClientInterface */ | ||
| 11 | private $client; | ||
| 12 | /** @var RpcProfiler */ | ||
| 13 | private $profiler; | ||
| 14 | |||
| 15 | /** | ||
| 16 | * ProfiledClient constructor. | ||
| 17 | * | ||
| 18 | * @param RpcClientInterface $client | ||
| 19 | * @param RpcProfiler $profiler | ||
| 20 | */ | ||
| 21 | 3 | public function __construct(RpcClientInterface $client, RpcProfiler $profiler) | |
| 26 | |||
| 27 | |||
| 28 |     /** {@inheritdoc} */ | ||
| 29 | 1 | public function invoke($calls) | |
| 35 | } | ||
| 36 |