Skip to content

Commit 96cbdb7

Browse files
committed
minor #16336 [Messenger] : Doc update for async handler (bhavin-nakrani)
This PR was submitted for the 6.0 branch but it was merged into the 4.4 branch instead. Discussion ---------- [Messenger] : Doc update for async handler <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 56ac832 Update msg for async handler
2 parents 63897f8 + 56ac832 commit 96cbdb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

messenger.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ Doctrine Entities in Messages
326326

327327
If you need to pass a Doctrine entity in a message, it's better to pass the entity's
328328
primary key (or whatever relevant information the handler actually needs, like ``email``,
329-
etc) instead of the object::
329+
etc) instead of the object othwerwise it will give error regarding EntityManager not found in async handler ::
330330

331331
// src/Message/NewUserWelcomeEmail.php
332332
namespace App\Message;

0 commit comments

Comments
 (0)