ITypeValidator
in
Ensures that the given app data is of the model's allowed types and satisfies other constraints of the model.
Table of Contents
Methods
Methods
validate()
public
validate(mixed $data) : null|TypeViolation|ValueViolation
Parameters
- $data : mixed