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 88b2266

Browse filesBrowse files
committed
[Messenger] Minor tweaks regarding middleware factories
1 parent 4cb9839 commit 88b2266
Copy full SHA for 88b2266

File tree

1 file changed

+5
-5
lines changed
Filter options

1 file changed

+5
-5
lines changed

‎messenger.rst

Copy file name to clipboardExpand all lines: messenger.rst
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ factories. Using them requires a two-step configuration based on Symfony's
291291
arguments: ['@doctrine']
292292
293293
# Step 2: an abstract definition that will call the factory with default
294-
# arguments or the one provided in the middleware config
294+
# arguments or the ones provided in the middleware config
295295
messenger.middleware.doctrine_transaction_middleware:
296296
class: Symfony\Bridge\Doctrine\Messenger\DoctrineTransactionMiddleware
297297
factory: ['@doctrine.orm.messenger.middleware_factory.transaction', 'createMiddleware']
@@ -318,9 +318,9 @@ Then you can reference and configure the
318318
buses:
319319
command_bus:
320320
middleware:
321-
# Using defaults:
321+
# Using defaults
322322
- doctrine_transaction_middleware
323-
# Using another entity manager:
323+
# Using another entity manager
324324
- doctrine_transaction_middleware: ['custom']
325325
326326
.. code-block:: xml
@@ -337,7 +337,7 @@ Then you can reference and configure the
337337
<framework:config>
338338
<framework:messenger>
339339
<framework:bus name="command_bus">
340-
<!-- Using defaults: -->
340+
<!-- Using defaults -->
341341
<framework:middleware id="doctrine_transaction_middleware" />
342342
<!-- Using another entity manager -->
343343
<framework:middleware id="doctrine_transaction_middleware">
@@ -356,7 +356,7 @@ Then you can reference and configure the
356356
'buses' => array(
357357
'command_bus' => array(
358358
'middleware' => array(
359-
// Using defaults:
359+
// Using defaults
360360
'doctrine_transaction_middleware',
361361
// Using another entity manager
362362
array('id' => 'doctrine_transaction_middleware', 'arguments' => array('custom')),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.