Total Complexity | 6 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | final class CallbackHandler implements RuleHandlerInterface |
||
15 | { |
||
16 | private FormatterInterface $formatter; |
||
17 | |||
18 | 8 | public function __construct(?FormatterInterface $formatter = null) |
|
21 | } |
||
22 | |||
23 | 8 | public function validate(mixed $value, object $rule, ?ValidationContext $context = null): Result |
|
52 |