ValidatableInterface
in
Describes objects that can be validated by passing a Validator object.
This interface is unused.
Table of Contents
Methods
- validate() : array<string|int, mixed>
- Validates the internal properties using a validator object and returns any validation errors found.
Methods
validate()
Validates the internal properties using a validator object and returns any validation errors found.
public
validate(Validator $validator) : array<string|int, mixed>
Parameters
- $validator : Validator
-
The validator to use when validating the entity.