We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d0f356 commit 9e6405bCopy full SHA for 9e6405b
1 file changed
DependencyInjection/Compiler/CheckForMailerPass.php
@@ -32,6 +32,11 @@ public function process(ContainerBuilder $container)
32
return;
33
}
34
35
+ // the mailer exists, so all is good
36
+ if ($container->hasDefinition('mailer')) {
37
+ return;
38
+ }
39
+
40
if ($container->findDefinition('fos_user.mailer')->hasTag('fos_user.requires_swift')) {
41
$message = 'A feature you activated in FOSUserBundle requires the "mailer" service to be available.';
42
0 commit comments