IValidator
in
Class Validator
Tags
Table of Contents
Constants
- PLACEHOLDER_REGEX = '[A-Za-z][A-Za-z0-9\-_.]+'
- Only alphanumeric, dash, underscore and dot are allowed, starting with a character
Methods
- validate() : void
Constants
PLACEHOLDER_REGEX
Only alphanumeric, dash, underscore and dot are allowed, starting with a character
public
mixed
PLACEHOLDER_REGEX
= '[A-Za-z][A-Za-z0-9\-_.]+'
Tags
Methods
validate()
public
validate(string $subject, array<non-empty-string, RichObjectParameter> $parameters) : void
Parameters
- $subject : string
- $parameters : array<non-empty-string, RichObjectParameter>