Different areas of my app need to send notifications (emails), around 20 different scenarios (so these are spread across 3 controllers).
I want to make a model Notifications and put all the functions in there. The controllers can then load the model and fire off the relevant notifications.
Each function in the Notifications model, will load the relevant models needed to send to the appropriate message.
Is this a good design? Or should this be in a Controller component? (for CakePHP 3.x)