Get record ID after delete

can i get the deleted record id in ->after(function () { // ... })
Solution:
Yes, pass Model $record inside function and get $record->id
Jump to solution
2 Replies
Solution
Vp
Vp6mo ago
Yes, pass Model $record inside function and get $record->id
Adnan Yalahow
Adnan YalahowOP6mo ago
Thank you
Want results from more Discord servers?
Add your server