Skip to content

Commit e0877f3

Browse files
Update msg for async handler
1 parent 1fa2ec8 commit e0877f3

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
@@ -322,7 +322,7 @@ Doctrine Entities in Messages
322322

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

327327
// src/Message/NewUserWelcomeEmail.php
328328
namespace App\Message;

0 commit comments

Comments
 (0)