PHP Class Neos\Flow\Validation\Validator\StringLengthValidator

Inheritance: extends AbstractValidator
Show file Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$supportedOptions array

Protected Methods

Method Description
isValid ( mixed $value ) : void Checks if the given value is a valid string (or can be cast to a string if an object is given) and its length is between minimum and maximum specified in the validation options.

Method Details

isValid() protected method

Checks if the given value is a valid string (or can be cast to a string if an object is given) and its length is between minimum and maximum specified in the validation options.
protected isValid ( mixed $value ) : void
$value mixed The value that should be validated
return void

Property Details

$supportedOptions protected property

protected array $supportedOptions
return array