diff --git a/src/schedule-2.0/src/Service/notificationService.php b/src/schedule-2.0/src/Service/notificationService.php index 1c754af..12e0688 100644 --- a/src/schedule-2.0/src/Service/notificationService.php +++ b/src/schedule-2.0/src/Service/notificationService.php @@ -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;