Tutorial by Examples

Imagine you have a class manager to manages sending mails (be called MailManager). In this, you have to log mails that are sent. A good solution is to transform the MailManager class into a service and then inject class for creating logs (Monolog for example) into the MailManager creating a service...

Page 1 of 1