File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -1309,22 +1309,23 @@ during a request::
1309
1309
}
1310
1310
}
1311
1311
1312
+ The transport has a number of options:
1313
+
1314
+ ``serialize `` (boolean, default: ``false ``)
1315
+ Whether to serialize messages or not. This is useful to test an additional
1316
+ layer, especially when you use your own message serializer.
1317
+
1318
+ .. versionadded :: 5.3
1319
+
1320
+ The ``serialize `` option was introduced in Symfony 5.3.
1321
+
1312
1322
.. note ::
1313
1323
1314
1324
All ``in-memory `` transports will be reset automatically after each test **in **
1315
1325
test classes extending
1316
1326
:class: `Symfony\\ Bundle\\ FrameworkBundle\\ Test\\ KernelTestCase `
1317
1327
or :class: `Symfony\\ Bundle\\ FrameworkBundle\\ Test\\ WebTestCase `.
1318
1328
1319
- .. tip ::
1320
-
1321
- Using ``in-memory://?serialize=true `` as dsn will perform message serialization as real asynchronous transport will do.
1322
- Useful to test an additional layer, especially when you use your own message serializer.
1323
-
1324
- .. versionadded :: 5.3
1325
-
1326
- The ``in-memory://?serialize=true `` dsn was introduced in Symfony 5.3.
1327
-
1328
1329
Amazon SQS
1329
1330
~~~~~~~~~~
1330
1331
You can’t perform that action at this time.
0 commit comments