| 1 | <?php |
||
| 7 | class UpperCaseFirst extends AbstractStringCase |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Sanitizes a string to begin with uppercase. |
||
| 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 | 24 | public function __invoke($subject, string $field): bool |
|
| 27 | } |
||
| 28 |