From 56ac832f44e1ead767009a369d129ee002adf219 Mon Sep 17 00:00:00 2001 From: Bhavin Nakrani Date: Tue, 28 Dec 2021 17:55:41 +0530 Subject: [PATCH] Update msg for async handler --- messenger.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messenger.rst b/messenger.rst index 73dab5e9ea5..4cf2419a3a4 100644 --- a/messenger.rst +++ b/messenger.rst @@ -326,7 +326,7 @@ Doctrine Entities in Messages If you need to pass a Doctrine entity in a message, it's better to pass the entity's primary key (or whatever relevant information the handler actually needs, like ``email``, -etc) instead of the object:: +etc) instead of the object othwerwise it will give error regarding EntityManager not found in async handler :: // src/Message/NewUserWelcomeEmail.php namespace App\Message;