model.afterRestore

Called after the model is restored from a soft delete

Example usage:

$model->bindEvent('model.afterRestore', function () use (\Winter\Storm\Database\Model $model) { \Log::info("{$model->name} has been brought back to life!"); });

Usage

Triggers

Copyright © 2024 Winter CMS