Skip to content

[Messenger] Allow to provide context in the Serializer class #26900

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions