correciton sur la configuration du mailer
This commit is contained in:
@@ -2,14 +2,17 @@
|
||||
namespace App\Service;
|
||||
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
|
||||
|
||||
class notificationService
|
||||
{
|
||||
private $em;
|
||||
protected $mailer;
|
||||
protected $twig;
|
||||
private $container;
|
||||
|
||||
public function __construct(EntityManagerInterface $em, \Swift_Mailer $mailer, \Twig\Environment $twig)
|
||||
public function __construct(EntityManagerInterface $em, \Swift_Mailer $mailer, \Twig\Environment $twig, ContainerInterface $container)
|
||||
{
|
||||
$this->mailer = $mailer;
|
||||
$this->twig = $twig;
|
||||
|
Reference in New Issue
Block a user