Skip to content

Commit 4b549cc

Browse files
committed
Merge branch '4.2'
* 4.2: Update tags.rst Update service_subscribers_locators.rst
2 parents 7d69c67 + 17c20e1 commit 4b549cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

service_container/service_subscribers_locators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ service type to a service.
203203

204204
.. code-block:: yaml
205205
206-
// config/services.yaml
206+
# config/services.yaml
207207
services:
208208
App\CommandBus:
209209
tags:

service_container/tags.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,10 +389,10 @@ To answer this, change the service declaration:
389389
// config/services.php
390390
$container->register(\Swift_SmtpTransport::class)
391391
->addArgument('%mailer_host%')
392-
->addTag('app.mail_transport', ['alias' => 'foo']);
392+
->addTag('app.mail_transport', ['alias' => 'smtp']);
393393
394394
$container->register(\Swift_SendmailTransport::class)
395-
->addTag('app.mail_transport', ['alias' => 'bar']);
395+
->addTag('app.mail_transport', ['alias' => 'sendmail']);
396396
397397
.. tip::
398398

0 commit comments

Comments
 (0)