| Total Complexity | 1 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | final class HydrationFailed extends RuntimeException implements CouldNotHydrate |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Notifies the client code that an exception was encountered during the |
||
| 22 | * hydration process. |
||
| 23 | * |
||
| 24 | * @param Throwable $exception The exception that was thrown. |
||
| 25 | * @param ReflectionClass $class The class that was being hydrated. |
||
| 26 | * @return self The new exception to throw. |
||
| 27 | */ |
||
| 28 | public static function encountered( |
||
| 43 |