Total Complexity | 1 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
5 | class Alpha implements SanitizeRuleInterface |
||
6 | { |
||
7 | /** |
||
8 | * Strips non-alphabetic characters from the value. |
||
9 | * |
||
10 | * @param object $subject The subject to be filtered. |
||
11 | * @param string $field The subject field name. |
||
12 | * |
||
13 | * @return bool Always true. |
||
14 | */ |
||
15 | 6 | public function __invoke($subject, string $field): bool |
|
22 |