| Conditions | 3 |
| Paths | 3 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 39 | public function __toString(): string |
||
| 40 | { |
||
| 41 | if (!$this->hasBindings()) { |
||
| 42 | return ''; |
||
| 43 | } |
||
| 44 | |||
| 45 | $log = ' (aop)'; |
||
| 46 | foreach ($this->methodBindings as $method => $interceptors) { |
||
| 47 | $log .= \sprintf( |
||
| 48 | ' +%s(%s)', |
||
| 49 | $method, |
||
| 50 | \implode(', ', $interceptors) |
||
| 51 | ); |
||
| 52 | } |
||
| 53 | |||
| 54 | return $log; |
||
| 55 | } |
||
| 56 | } |