Closed dasraab closed 5 years ago
With this change we´re able to replace the Mailer-Implementation for transactional mails with our own implementation.
Just bind your own service the the interface
services: _defaults: autowire: true autoconfigure: true public: true MembersBundle\Mailer\MailerInterface: '@AppBundle\Mailer\Mailer'
our service has to implement the MailerInterface
<?php use MembersBundle\Mailer\MailerInterface; class Mailer implements MailerInterface { // add your implementation } ?>
With this change we´re able to replace the Mailer-Implementation for transactional mails with our own implementation.
Just bind your own service the the interface