\Cake\ValidationValidatableInterface

Describes objects that can be validated by passing a Validator object.

Summary

Methods
Constants
validate()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

validate()

validate(\Cake\Validation\Validator  $validator) : array

Validates the internal properties using a validator object and returns any validation errors found.

Parameters

\Cake\Validation\Validator $validator

The validator to use when validating the entity.

Returns

array