Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | class Uuid extends AbstractUuidCase implements SanitizeRuleInterface |
||
8 | { |
||
9 | /** |
||
10 | * Forces the value to a canonical 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 the value was sanitized, false if not. |
||
16 | */ |
||
17 | 21 | public function __invoke($subject, string $field): bool |
|
41 |