Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | trait ExceptionExtractorTrait |
||
11 | { |
||
12 | /** |
||
13 | * Extracts and returns the exception value from the given context. |
||
14 | * |
||
15 | * @param array $context Any extraneous log information that does not fit well in a string. |
||
16 | * |
||
17 | * @return \Exception|null |
||
18 | */ |
||
19 | protected function getExceptionFromContext(array $context) |
||
40 |