Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b25da32

Browse files
committed
minor #18881 [Messenger] Mention the transport factory autoconfiguration (javiereguiluz)
This PR was merged into the 5.4 branch. Discussion ---------- [Messenger] Mention the transport factory autoconfiguration Fixes #15754. Commits ------- 5175389 [Messenger] Mention the transport factory autoconfiguration
2 parents ca1885a + 5175389 commit b25da32

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

messenger/custom-transport.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ and :class:`Symfony\\Component\\Messenger\\Bridge\\Doctrine\\Transport\\Doctrine
132132
Register your Factory
133133
---------------------
134134

135+
Before using your factory, you must register it. If you're using the
136+
:ref:`default services.yaml configuration <service-container-services-load-example>`,
137+
this is already done for you, thanks to :ref:`autoconfiguration <services-autoconfigure>`.
138+
Otherwise, add the following:
139+
135140
.. configuration-block::
136141

137142
.. code-block:: yaml

0 commit comments

Comments
 (0)