Observer
class Observer
Constants
SKIP_ONCE |
Validation skipping flag.
|
SKIP_ALWAYS |
Validation skipping flag.
|
Methods
void|false
creating(Validable $model)
Halt creating if model doesn't pass validation.
void|false
updating(Validable $model)
Updating event handler.
void
saved(Validable $model)
Enable validation for the model if skipped only once.
Details
at line 27
void|false
creating(Validable $model)
Halt creating if model doesn't pass validation.
at line 40
void|false
updating(Validable $model)
Updating event handler.
at line 75
void
saved(Validable $model)
Enable validation for the model if skipped only once.