Closed
Description
Presently there is no way to know when a relationship has been created via
Model::find(1)->something->save($anotherSomething);
This proposal puts forward the idea of firing relationship.creating
, relationship.created
, relationship.destroying
, relationship.destroyed
events in the same manner as saving a model.
This allows us to do awesome things like setup another relationship automatically when this relationship is setup, or send a "Dude someone joined your crew" email when a new relationship is added!
Metadata
Metadata
Assignees
Labels
No labels