Total Complexity | 3 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class Callback implements ParametrizedRuleInterface, BeforeValidationInterface |
||
17 | { |
||
18 | use BeforeValidationTrait; |
||
19 | use HandlerClassNameTrait; |
||
20 | use RuleNameTrait; |
||
21 | |||
22 | 4 | public function __construct( |
|
34 | } |
||
35 | |||
36 | /** |
||
37 | * @return callable |
||
38 | */ |
||
39 | 7 | public function getCallback(): callable |
|
42 | } |
||
43 | |||
44 | 2 | #[ArrayShape(['skipOnEmpty' => 'bool', 'skipOnError' => 'bool'])] |
|
53 |