Skip to content

Commit 5f0c471

Browse files
committed
minor #12805 [Messenger] Added a missing class import (javiereguiluz)
This PR was merged into the 4.3 branch. Discussion ---------- [Messenger] Added a missing class import All examples in this article show all imports ... so this one was missing. Commits ------- d9fd6a7 [Messenger] Added a missing class import
2 parents 44acf96 + d9fd6a7 commit 5f0c471

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/messenger.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ Instead of dealing directly with the messages in the middleware you receive the
163163
Hence you can inspect the envelope content and its stamps, or add any::
164164

165165
use App\Message\Stamp\AnotherStamp;
166+
use Symfony\Component\Messenger\Envelope;
166167
use Symfony\Component\Messenger\Middleware\MiddlewareInterface;
167168
use Symfony\Component\Messenger\Middleware\StackInterface;
168169
use Symfony\Component\Messenger\Stamp\ReceivedStamp;

0 commit comments

Comments
 (0)