Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class HydrationFailed extends RuntimeException implements HydrationFailure |
||
17 | { |
||
18 | /** |
||
19 | * Notifies the client code that an exception was encountered during the |
||
20 | * hydration process. |
||
21 | * |
||
22 | * @param Throwable $exception The exception that was thrown. |
||
23 | * @param object $target The object that was being hydrated. |
||
24 | * @return HydrationFailure The exception to throw. |
||
25 | */ |
||
26 | public static function encountered( |
||
37 |