Where to register model events / observers?

Posted 3 years ago by pmx

Sorry if this seems like a stupid question but I can't work it out from the docs. I want to register events for when certain models are modified / deleted etc. The docs show the how but not the where.

Where should I register these event listeners?


Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.