File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1681,7 +1681,7 @@ during a request::
16811681 namespace App\Tests\Controller;
16821682
16831683 use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
1684- use Symfony\Component\Messenger\Transport\InMemoryTransport;
1684+ use Symfony\Component\Messenger\Transport\InMemory\ InMemoryTransport;
16851685
16861686 class DefaultControllerTest extends WebTestCase
16871687 {
@@ -1698,6 +1698,12 @@ during a request::
16981698 }
16991699 }
17001700
1701+ .. versionadded :: 6.3
1702+
1703+ The namespace of the ``InMemoryTransport `` class changed in Symfony 6.3 from
1704+ ``Symfony\Component\Messenger\Transport\InMemoryTransport `` to
1705+ ``Symfony\Component\Messenger\Transport\InMemory\InMemoryTransport ``.
1706+
17011707The transport has a number of options:
17021708
17031709``serialize `` (boolean, default: ``false ``)
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ Here is a simplified example of a database transport::
126126
127127The implementation above is not runnable code but illustrates how a
128128:class: `Symfony\\ Component\\ Messenger\\ Transport\\ TransportInterface ` could
129- be implemented. For real implementations see :class: `Symfony\\ Component\\ Messenger\\ Transport\\ InMemoryTransport `
129+ be implemented. For real implementations see :class: `Symfony\\ Component\\ Messenger\\ Transport\\ InMemory \\ InMemoryTransport `
130130and :class: `Symfony\\ Component\\ Messenger\\ Bridge\\ Doctrine\\ Transport\\ DoctrineReceiver `.
131131
132132Register your Factory
You can’t perform that action at this time.
0 commit comments