Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 10 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
32 | 1 | public function invoke($calls) |
|
33 | 1 | { |
|
34 | 1 | $this->stopwatch->start($this->clientName, 'rpc_call'); |
|
35 | 1 | $collection = new TraceableResponseCollection( |
|
36 | 1 | $this->client->invoke($calls), |
|
37 | 1 | $this->stopwatch, |
|
38 | 1 | $this->clientName |
|
39 | 1 | ); |
|
40 | 1 | $this->stopwatch->stop($this->clientName); |
|
41 | |||
42 | 1 | return $collection; |
|
43 | } |
||
44 | } |
||
45 |