Skip to content

[VarDumper] Add an options builder to configure VarDumper's behavior at runtime #17787

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 6.3
Choose a base branch
from

Conversation

alexandre-daubois
Copy link
Member

Documentation for the upcoming symfony/symfony#48667

@OskarStark OskarStark added the Waiting Code Merge Docs for features pending to be merged label Jan 30, 2023
@carsonbot carsonbot modified the milestones: 6.3, next Jan 30, 2023
Comment on lines +952 to +953
class provides the ``VarDumperOptions::toArray()`` method to get the options as an array
and use them in a ``dump()`` call with to the spread operator.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we have to add an usage example ?


.. versionadded:: 6.3

Special options of ``dump()`` were introduced in Symfony 6.3.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Special options" is not clear to me. Do you have VAR_DUMPER_OPTIONS in mind ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Review VarDumper Waiting Code Merge Docs for features pending to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants