Live blogging from SymfonyLive London 2019
This commit is contained in:
parent
c4eca1c763
commit
3f0d5608ab
|
@ -135,9 +135,11 @@ Notifier
|
||||||
|
|
||||||
* New intern. Understand everything, 'just PHP'. Plain PHP application, not 'scary Symfony'
|
* New intern. Understand everything, 'just PHP'. Plain PHP application, not 'scary Symfony'
|
||||||
|
|
||||||
|
### Symfony Messenger
|
||||||
* `composer req symfony/messager` - best MessageBus implementation
|
* `composer req symfony/messager` - best MessageBus implementation
|
||||||
* Message -> Message bus -> Message handler
|
* Message -> Message bus -> Message handler
|
||||||
* Message is a plain PHP class
|
* Message is a plain PHP class
|
||||||
* Handler is a normal PHP class which is invokable
|
* Handler is a normal PHP class which is invokable
|
||||||
* `messenger:message_hander` tag in config
|
* `messenger:message_hander` tag in config
|
||||||
* Autowire with `MessageHandlerInterface`
|
* Autowire with `MessageHandlerInterface`
|
||||||
|
* What if it takes 20 seconds to send a message? Uses asyncronus
|
||||||
|
|
Reference in a new issue