Conditions | 2 |
Paths | 5 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | protected function afterCall(string $methodName, array $arguments, mixed $result, float $timeStart): mixed |
||
24 | { |
||
25 | try { |
||
26 | if (isset($this->methods[$methodName])) { |
||
27 | $callback = $this->methods[$methodName]; |
||
28 | $result = $callback($result, ...$arguments); |
||
29 | } |
||
30 | } finally { |
||
31 | $this->logProxy($this->getService(), $this->getInstance(), $methodName, $arguments, $result, $timeStart); |
||
32 | } |
||
33 | |||
34 | return $result; |
||
35 | } |
||
42 |