Skip to content

Commit 6f0694c

Browse files
committed
Merge branch '2.3' into 2.4
2 parents cd98a63 + 5050dcf commit 6f0694c

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

components/dependency_injection/lazy_services.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ received object.
8686
8787
var_dump(class_implements($service));
8888
89-
If the class implements the "ProxyManager\Proxy\LazyLoadingInterface" your lazy
90-
loaded services are working.
89+
If the class implements the ``ProxyManager\Proxy\LazyLoadingInterface`` your
90+
lazy loaded services are working.
9191

9292
.. note::
9393

reference/dic_tags.rst

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ may also be tags in other bundles you use that aren't listed here.
6767
+-----------------------------------+---------------------------------------------------------------------------+
6868
| `serializer.normalizer`_ | Register a new normalizer in the ``serializer`` service |
6969
+-----------------------------------+---------------------------------------------------------------------------+
70-
| `swiftmailer.plugin`_ | Register a custom SwiftMailer Plugin |
70+
| `swiftmailer.default.plugin`_ | Register a custom SwiftMailer Plugin |
7171
+-----------------------------------+---------------------------------------------------------------------------+
7272
| `templating.helper`_ | Make your service available in PHP templates |
7373
+-----------------------------------+---------------------------------------------------------------------------+
@@ -847,14 +847,20 @@ and :class:`Symfony\\Component\\Serializer\\Normalizer\\DenormalizerInterface`.
847847
848848
For more details, see :doc:`/cookbook/serializer`.
849849
850-
swiftmailer.plugin
851-
------------------
850+
swiftmailer.default.plugin
851+
--------------------------
852852
853853
**Purpose**: Register a custom SwiftMailer Plugin
854854
855855
If you're using a custom SwiftMailer plugin (or want to create one), you can
856856
register it with SwiftMailer by creating a service for your plugin and tagging
857-
it with ``swiftmailer.plugin`` (it has no options).
857+
it with ``swiftmailer.default.plugin`` (it has no options).
858+
859+
.. note::
860+
861+
``default`` in this tag is the name of the mailer. If you have multiple
862+
mailers configured or have changed the default mailer name for some reason,
863+
you should change it to the name of your mailer in order to use this tag.
858864
859865
A SwiftMailer plugin must implement the ``Swift_Events_EventListener`` interface.
860866
For more information on plugins, see `SwiftMailer's Plugin Documentation`_.

0 commit comments

Comments
 (0)