| Total Complexity | 1 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Uuid extends AbstractUuidCase implements ValidateRuleInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Validates that the value is a canonical human-readable UUID. |
||
| 11 | * |
||
| 12 | * @param object $subject The subject to be filtered. |
||
| 13 | * @param string $field The subject field name. |
||
| 14 | * |
||
| 15 | * @return bool True if valid, false if not. |
||
| 16 | */ |
||
| 17 | 42 | public function __invoke($subject, string $field): bool |
|
| 22 |