Lifecyle hook after() didn't trigger

I want to run Artisan command after the record is edited.
Tables\Actions\EditAction::make()->after(function () {
Artisan::call('read:edit-regulation');
}),
Tables\Actions\EditAction::make()->after(function () {
Artisan::call('read:edit-regulation');
}),
but it didn't trigger
1 Reply
Want results from more Discord servers?
Add your server