Documentation

StringValidator extends AbstractTypeValidator
in package

Read onlyYes
FinalYes

Validator for app data.

Validates the data is not null if the model does not allow that, that it is of the correct type and that the value is allowed.

Table of Contents

Properties

$model  : StringModel

Methods

__construct()  : mixed
isRegexValid()  : array<int, IndividualViolation>
validate()  : null|TypeViolation|ValueViolation
validateNonNullValue()  : null|TypeViolation|ScalarValueViolation
validateEnum()  : array<int, IndividualViolation>

Properties

Methods

On this page

Search results