Get record ID after delete
can i get the deleted record id in ->after(function () {
// ...
})
2 Replies
Solution
Yes, pass
Model $record
inside function and get $record->idThank you
Model $record
inside function and get $record->id