File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 12
12
use Doctrine \ORM \EntityManagerInterface ;
13
13
use Symfony \Bridge \Twig \Mime \TemplatedEmail ;
14
14
use Symfony \Component \DependencyInjection \ParameterBag \ParameterBagInterface ;
15
+ use Symfony \Component \HttpKernel \KernelInterface ;
15
16
use Symfony \Component \Mailer \MailerInterface ;
16
17
use Symfony \Component \Messenger \Attribute \AsMessageHandler ;
17
18
use Symfony \Component \Messenger \Exception \UnrecoverableMessageHandlingException ;
@@ -28,8 +29,9 @@ public function __construct(
28
29
private readonly ParameterBagInterface $ params ,
29
30
private readonly TranslatorInterface $ translator ,
30
31
private readonly MailerInterface $ mailer ,
32
+ private readonly KernelInterface $ kernel ,
31
33
) {
32
- parent ::__construct ($ this ->entityManager );
34
+ parent ::__construct ($ this ->entityManager , $ this -> kernel );
33
35
}
34
36
35
37
public function __invoke (UserApplicationAnswerMessage $ message ): void
You can’t perform that action at this time.
0 commit comments