| Q |
A |
| Bug report? |
no |
| Feature request? |
yes |
| BC Break report? |
no |
| RFC? |
no |
| Symfony version |
4.1 |
In the class Symfony\Component\Messenger\Transport\Serialization, the method encode($message): array serializes the message with an empty context option. It might be interesting to be able to provide some context options (from the configuration for example) instead of overloading all the class.