model.afterValidate
Called after the model is validated
Example usage:
$model->bindEvent('model.afterValidate', function () use (\Winter\Storm\Database\Model $model) { \Log::info("{$model->name} successfully passed validation"); });
Usage
Triggers
Class or file | Line |
---|---|
Winter\Storm\Database\Traits\Validation
|
103 |
Copyright © 2024 Winter CMS