Learndash_DTO_Property_Validator_String_Case
DTO property validator class.
Description #
Source #
File: includes/dto/validation/class-learndash-dto-property-validator-string-case.php
Changelog #
Version | Description |
---|---|
4.5.0 | Introduced. |
Methods #
- __construct — Constructor. Prevents direct instantiation.
- lowercase — Creates a lowercase validator.
- uppercase — Creates an uppercase validator.
- validate — Validates if a property value is in the required case.