Live blogging from SymfonyLive London 2019

This commit is contained in:
Oliver Davies 2019-09-13 10:25:37 +01:00
parent c4eca1c763
commit 3f0d5608ab

View file

@ -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