Total Complexity | 4 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | final class ObjectWithPostValidationHook implements PostValidationHookInterface |
||
11 | { |
||
12 | public static $hookCalled = false; |
||
13 | |||
14 | public function getAttributeValue(string $attribute): mixed |
||
15 | { |
||
16 | return null; |
||
17 | } |
||
18 | |||
19 | public function getData(): ?array |
||
20 | { |
||
21 | return null; |
||
22 | } |
||
23 | |||
24 | public function hasAttribute(string $attribute): bool |
||
27 | } |
||
28 | |||
29 | public function processValidationResult(Result $result): void |
||
34 |