Skip to content

Commit 6189028

Browse files
committed
minor #10890 Update tags.rst (atailouloute)
This PR was merged into the 3.4 branch. Discussion ---------- Update tags.rst PHP example changed to be like the others. Commits ------- 7128228 Update tags.rst
2 parents a0d0c83 + 7128228 commit 6189028

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service_container/tags.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,10 @@ To answer this, change the service declaration:
375375
376376
$container->register(\Swift_SmtpTransport::class)
377377
->addArgument('%mailer_host%')
378-
->addTag('app.mail_transport', ['alias' => 'foo']);
378+
->addTag('app.mail_transport', ['alias' => 'smtp']);
379379
380380
$container->register(\Swift_SendmailTransport::class)
381-
->addTag('app.mail_transport', ['alias' => 'bar']);
381+
->addTag('app.mail_transport', ['alias' => 'sendmail']);
382382
383383
.. tip::
384384

0 commit comments

Comments
 (0)