Skip to content

Mention the "show-arguments" option of the "debug:container" command #7399

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

Closed
wants to merge 2 commits into from

Conversation

javiereguiluz
Copy link
Member

This fixes #7366.

By default, the arguments of the services are not included in the output. Add the
``--show-arguments`` option to show them:

.. versionadded:: 3.3
Copy link
Member

Choose a reason for hiding this comment

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

Having the versionadded directive between the previous paragraph and the output reads a bit weird.

@wouterj
Copy link
Member

wouterj commented Apr 15, 2017

I think the code example can be removed. Maybe we can even do this like:

.. code-block:: terminal

    $ php bin/console debug:container app.mailer

    # to show the service arguments:
    $ php bin/console debug:container --show-arguments app.mailer

.. versionadded:: 3.3
    The ``--show-arguments`` option was introduced in Symfony 3.3.

@xabbuh
Copy link
Member

xabbuh commented Apr 15, 2017

Thank you Javier.

@xabbuh xabbuh closed this in 1942379 Apr 15, 2017
xabbuh added a commit that referenced this pull request Apr 15, 2017
@xabbuh
Copy link
Member

xabbuh commented Apr 15, 2017

@wouterj see b395d8d

@javiereguiluz javiereguiluz deleted the fix_7366 branch May 24, 2018 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FrameworkBundle] Document the --show-arguments option of debug:container
5 participants