Skip to content

[RFC] Create a new ValueExporter component #18074

Closed
@javiereguiluz

Description

@javiereguiluz

Context

As @fabpot said in #18070 (comment), if some code is repeated in several parts, we can extract it to a new component, no matter how big or small it is.

Problem to solve

In Symfony this need is very common: "given an arbitrary variable, return its best possible representation as a string".

Current situation

Today we solve this problem at least in 6 different ways across different bundles and components:

Solution

Create a new ValueExporter component to merge all this stuff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions