Implement those methods to define your own behaviour.
During validation process, in case of an error the corresponding
method gets called, and is provided the object where the error occurred,
and type of the error. Objects are passed by reference so that they
can be changed (fixed / cleaned up / etc.)
'False' return value means to stop further validation checks for the
current entity and skip to the next one.
Implement those methods to define your own behaviour.
During validation process, in case of an error the corresponding method gets called, and is provided the object where the error occurred, and type of the error. Objects are passed by reference so that they can be changed (fixed / cleaned up / etc.)
'False' return value means to stop further validation checks for the current entity and skip to the next one.