Skip to content

Commit ac6a783

Browse files
committed
Merge branch '5.0'
* 5.0: Update service id of the MailerInterface
2 parents e02f7d0 + 581c7fe commit ac6a783

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)