Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit93668de

Browse files
authored
Update service id of the MailerInterface
The service id of the MailerInterface was changed insymfony/symfony#31854 to avoid an conflict with SwiftMailer
1 parentc9dc31a commit93668de

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
@@ -93,7 +93,7 @@ Creating & Sending Messages
9393
---------------------------
9494

9595
To send an email, autowire the mailer using
96-
:class:`Symfony\\Component\\Mailer\\MailerInterface` (service id ``mailer``)
96+
:class:`Symfony\\Component\\Mailer\\MailerInterface` (service id ``mailer.mailer``)
9797
and create an:class:`Symfony\\Component\\Mime\\Email` object::
9898

9999
// src/Controller/MailerController.php

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp