8000 Merge branch '4.4' into 5.0 · maxperrimond/symfony-docs@581c7fe · GitHub
[go: up one dir, main page]

Skip to content

Commit 581c7fe

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Update service id of the MailerInterface
2 parents cb9ad70 + 2e5e2a6 commit 581c7fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mailer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Creating & Sending Messages
8989
---------------------------
9090

9191
To send an email, autowire the mailer using
92-
:class:`Symfony\\Component\\Mailer\\MailerInterface` (service id ``mailer``)
92+
:class:`Symfony\\Component\\Mailer\\MailerInterface` (service id ``mailer.mailer``)
9393
and create an :class:`Symfony\\Component\\Mime\\Email` object::
9494

9595
// src/Controller/MailerController.php

0 commit comments

Comments
 (0)
0