ardent
ardent copied to clipboard
Hooks on relationships
I'd like to see hooks on relationships, similar to the current hooks on models.
Like when you attach a Book to an Author, I'd like to see some event fired so I can send an email to the Author telling him his book has been added to his account for example. Getting this to work too with the sync function would be a great improvement!
The one thing I don't know is how to implement this. Where would one declare this event? Is it an Ardent or Laravel thing?
Please let me know what you think!