Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
35 | 2 | public function invoke($calls) |
|
36 | { |
||
37 | 2 | $this->stopwatch->start($this->clientName, self::CATEGORY_REQUEST); |
|
38 | 2 | $collection = new TraceableResponseCollection( |
|
39 | 2 | $this->client->invoke($calls), |
|
40 | 2 | $this->stopwatch, |
|
41 | 2 | $this->clientName |
|
42 | 2 | ); |
|
43 | 2 | $this->stopwatch->stop($this->clientName); |
|
44 | |||
45 | 2 | return $collection; |
|
46 | } |
||
47 | } |
||
48 |