From 3f0d5608ab0c0b42f373b1cfcedf0f023e7e3736 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 13 Sep 2019 10:25:37 +0100 Subject: [PATCH] Live blogging from SymfonyLive London 2019 --- source/_posts/2019-09-13-live-blogging-symfonylive-london.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_posts/2019-09-13-live-blogging-symfonylive-london.md b/source/_posts/2019-09-13-live-blogging-symfonylive-london.md index 87579739..e0b03b96 100644 --- a/source/_posts/2019-09-13-live-blogging-symfonylive-london.md +++ b/source/_posts/2019-09-13-live-blogging-symfonylive-london.md @@ -135,9 +135,11 @@ Notifier * New intern. Understand everything, 'just PHP'. Plain PHP application, not 'scary Symfony' +### Symfony Messenger * `composer req symfony/messager` - best MessageBus implementation * Message -> Message bus -> Message handler * Message is a plain PHP class * Handler is a normal PHP class which is invokable * `messenger:message_hander` tag in config * Autowire with `MessageHandlerInterface` +* What if it takes 20 seconds to send a message? Uses asyncronus