| 1 | <?php | ||
| 20 | class Uppercase extends AbstractCharCase | ||
| 21 | { | ||
| 22 | /** | ||
| 23 | * | ||
| 24 | * Validates that the string is uppercase. | ||
| 25 | * | ||
| 26 | * @param object $subject The subject to be filtered. | ||
| 27 | * | ||
| 28 | * @param string $field The subject field name. | ||
| 29 | * | ||
| 30 | * @return bool True if valid, false if not. | ||
| 31 | * | ||
| 32 | */ | ||
| 33 | 9 | public function __invoke($subject, $field) | |
| 42 | } | ||
| 43 |