| Conditions | 3 |
| Paths | 4 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 19 | public static function trace($identifier = null, $subtrace = 1, Exception $exception = null) |
||
| 20 | { |
||
| 21 | $exception = null === $exception ? new Exception() : $exception; |
||
| 22 | $trace = array_slice($exception->getTrace(), $subtrace); |
||
| 23 | |||
| 24 | foreach (self::$handlers as $handler) { |
||
| 25 | $handler->onTrace($trace, $identifier); |
||
| 26 | } |
||
| 27 | } |
||
| 28 | |||
| 37 |