| Conditions | 2 |
| Paths | 6 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 56 | public function call($function_name, array $arguments = []) |
||
| 57 | { |
||
| 58 | $name = $this->getWatchName($function_name); |
||
| 59 | $this->stopwatch->start($name, "skautis"); |
||
| 60 | |||
| 61 | try { |
||
| 62 | $result = parent::call($function_name, $arguments); |
||
| 63 | } catch (\Exception $e) { |
||
| 64 | throw $e; |
||
| 65 | } finally { |
||
| 66 | $this->stopwatch->stop($name); |
||
| 67 | } |
||
| 68 | |||
| 69 | return $result; |
||
| 70 | } |
||
| 71 | |||
| 73 |