Skip to content

Commit d9fd6a7

Browse files
committed
[Messenger] Added a missing class import
1 parent f89f521 commit d9fd6a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/messenger.rst

+1
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)