Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | final class LessThanOrEqual extends Constraint |
||
11 | { |
||
12 | private int $value; |
||
13 | |||
14 | public function __construct(array $options = []) |
||
19 | } |
||
20 | |||
21 | protected function getAttribute(): string |
||
22 | { |
||
23 | return 'data-parsley-lte'; |
||
24 | } |
||
25 | |||
26 | protected function getValue(): string |
||
27 | { |
||
28 | return (string) $this->value; |
||
29 | } |
||
30 | |||
31 | protected function configureOptions(OptionsResolver $resolver): void |
||
36 | ; |
||
37 | } |
||
38 | } |
||
39 |