Validator (class)
Class Validator
Validator object encapsulates all methods related to data validations for a model It also provides an API to dynamically change validation rules for each model field.
Implements ArrayAccess to easily modify rules in the set
- Cake\Validation\Validator implements ArrayAccess, IteratorAggregate, Countable
Namespace: Cake\Validation
Link: http://book.cakephp.org/3.0/en/core-libraries/validation.html
Location: 登录查看完整内容
Link: http://book.cakephp.org/3.0/en/core-libraries/validation.html
Location: 登录查看完整内容