model.afterDelete

Called after the model is deleted

Note: also triggered in Winter\Storm\Halcyon\Model

Example usage:

$model->bindEvent('model.afterDelete', function () use (\Winter\Storm\Database\Model $model) { \Log::info("{$model->name} was deleted"); });

Usage

Triggers

Class or file Line
Winter\Storm\Database\Model 442
Copyright © 2024 Winter CMS