| Total Complexity | 6 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class AtLeastHandler implements RuleHandlerInterface |
||
| 18 | { |
||
| 19 | use EmptyCheckTrait; |
||
| 20 | |||
| 21 | private FormatterInterface $formatter; |
||
| 22 | |||
| 23 | 6 | public function __construct(?FormatterInterface $formatter = null) |
|
| 24 | { |
||
| 25 | 6 | $this->formatter = $formatter ?? new Formatter(); |
|
| 26 | } |
||
| 27 | |||
| 28 | 6 | public function validate(mixed $value, object $rule, ?ValidationContext $context = null): Result |
|
| 53 | } |
||
| 54 | } |
||
| 55 |