model.afterTrash

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

Called after the model is soft deleted (trashed)

Example usage:

$model->bindEvent('model.afterTrash', function() use (\October\Rain\Database\Model $model) {
    \Log::info("{$model->name} has been trashed!");
});