We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfee844 commit e1ad33eCopy full SHA for e1ad33e
reference/configuration/swiftmailer.rst
@@ -388,7 +388,7 @@ alternatives based on the :ref:`service binding <services-binding>` feature:
388
->setPublic(true)
389
->setBindings([
390
// this injects the second mailer when this service type-hints constructor arguments with \Swift_Mailer
391
- \Swift_Mailer => '@swiftmailer.mailer.second_mailer',
+ \Swift_Mailer::class => '@swiftmailer.mailer.second_mailer',
392
// this injects the second mailer when this service has a constructor argument called $specialMailer
393
'$specialMailer' => '@swiftmailer.mailer.second_mailer',
394
])
0 commit comments