Skip to content

Commit 56ac832

Browse files
bhavin-nakranijaviereguiluz
authored andcommitted
Update msg for async handler
1 parent 63897f8 commit 56ac832

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)