Skip to content

Improve VarDumper to use it as a value exporter #18149

Closed
@javiereguiluz

Description

@javiereguiluz

Problem

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

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

We "can't" use VarDumper because we need a pure value exporter which doesn't add CSS/JS code or other advanced stuff.

Solution

Improve VarDumper to export variables in the simplest way possible so we can replace the existing code and get the exact same results.

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