-
Notifications
You must be signed in to change notification settings - Fork 11.7k
Closed
Description
When creating (or performing any other action on a Pivot table), no model events are fired.
There is a proof of concept repository here: https://github.com/tpavlek/pivot-events-test
WelcomeController@index creates a new user and a new role, and attaches the role to the user. in AppServiceProvider we register this in boot()
Pivot::creating(function($event) {
\Log::info("Creating pivot...");
});Even after running the function in WelcomeController no data is logged, meaning no Pivot creating event was fired.
projct1, 0x4r45h, TheSachin and dev-ea
Metadata
Metadata
Assignees
Labels
No labels