Namespace Cake\Validation

Class summary

  • A Proxy class used to remove any extra arguments when the user intended to call a method in another class that is not aware of validation providers signature

  • Validation Class. Used for validation of model data

  • ValidationRule object. Represents a validation method, error message and rules for applying such method to a field.

  • ValidationSet object. Holds all validation rules for a field and exposes methods to dynamically add or remove validation rules

  • 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.

Interface summary

Traits summary

  • A trait that provides methods for building and interacting with Validators.

© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.4/namespace-Cake.Validation.html