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

Appearance settings

Commit 4b549cc

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

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed

‎service_container/service_subscribers_locators.rst

Copy file name to clipboardExpand all lines: service_container/service_subscribers_locators.rst
+1-1Lines 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

Copy file name to clipboardExpand all lines: service_container/tags.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.