model.beforeRestore

Triggered in October\Rain\Database\Traits\SoftDelete.

Called before the model is restored from a soft delete

Example usage:

$model->bindEvent('model.beforeRestore', function() use (\October\Rain\Database\Model $model) {
    \Log::info("{$model->name} is going to be restored!");
});