Total Complexity | 5 |
Total Lines | 27 |
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 |
||
17 | } |
||
18 | |||
19 | public function getData(): ?array |
||
22 | } |
||
23 | |||
24 | public function getSource(): array |
||
25 | { |
||
26 | return $this; |
||
|
|||
27 | } |
||
28 | |||
29 | public function hasAttribute(string $attribute): bool |
||
32 | } |
||
33 | |||
34 | public function processValidationResult(Result $result): void |
||
39 |