Documentation

AbstractTypeValidator
in package
implements ITypeValidator

Read onlyYes
AbstractYes

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

Interfaces

ITypeValidator
Ensures that the given app data is of the model's allowed types and satisfies other constraints of the model.

Properties

$notNullConstraint  : INotNullConstraint|null

Methods

__construct()  : mixed
validate()  : null|TypeViolation|ValueViolation
validateNonNullValue()  : null|TypeViolation|ValueViolation

Properties

Methods

On this page

Search results