Skip to content

Commit 1d02e0c

Browse files
committed
Minor tweaks
1 parent 7d68082 commit 1d02e0c

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

messenger.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2254,19 +2254,21 @@ on a case-by-case basis via the :class:`Symfony\\Component\\Messenger\\Stamp\\Se
22542254
provides that control. See `SymfonyCasts' message serializer tutorial`_ for
22552255
details.
22562256

2257-
Closing connection
2258-
~~~~~~~~~~~~~~~~~~
2257+
Closing Connections
2258+
~~~~~~~~~~~~~~~~~~~
22592259

2260-
When using a transport that requires a connection, you can close it using
2261-
the :method:`Symfony\\Component\\Messenger\\Transport\\CloseableTransportInterface::close`
2262-
method to allow free resources for long-running processes.
2260+
When using a transport that requires a connection, you can close it by calling the
2261+
:method:`Symfony\\Component\\Messenger\\Transport\\CloseableTransportInterface::close`
2262+
method to free up resources in long-running processes.
22632263

2264-
This interface is implemented by the following transports: AmazonSqs, Amqp and Redis.
2265-
If you want to close a Doctrine connection, this can be achieved :ref:`using middleware <middleware-for-doctrine>`.
2264+
This interface is implemented by the following transports: AmazonSqs, Amqp, and Redis.
2265+
If you need to close a Doctrine connection, you can do so
2266+
:ref:`using middleware <middleware-for-doctrine>`.
22662267

22672268
.. versionadded:: 7.3
22682269

2269-
The ``CloseableTransportInterface`` and ``close`` method were introduced in Symfony 7.3.
2270+
The ``CloseableTransportInterface`` and its ``close()`` method were introduced
2271+
in Symfony 7.3.
22702272

22712273
Running Commands And External Processes
22722274
---------------------------------------

0 commit comments

Comments
 (0)