Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class HydrationFailed extends RuntimeException implements HydrationFailure |
||
17 | { |
||
18 | private $hydrationData; |
||
19 | |||
20 | private function __construct( |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * Notifies the client code that an exception was encountered during the |
||
32 | * hydration process. |
||
33 | * |
||
34 | * @param Throwable $exception The exception that was thrown. |
||
35 | * @param object $target The object that was being hydrated. |
||
36 | * @return HydrationFailure The exception to throw. |
||
37 | */ |
||
38 | public static function encountered( |
||
48 | } |
||
49 | |||
50 | public function hydrationData(): array |
||
55 |