Skip to content

Commit

Permalink
minor symfony#10088 Showed the output of the command in the same CLI …
Browse files Browse the repository at this point in the history
…window (javiereguiluz)

This PR was merged into the 2.8 branch.

Discussion
----------

Showed the output of the command in the same CLI window

We do the same in most console examples.

Commits
-------

eb63b2d Showed the output of the command in the same CLI window
  • Loading branch information
javiereguiluz committed Jul 19, 2018
2 parents 498ead1 + eb63b2d commit e88ffea
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions service_container.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,26 +60,25 @@ Find out by running:

.. code-block:: terminal
$ php app/console debug:container
This is just a *small* sample of the output:

=============================== =======================================================================
Service ID Class name
=============================== =======================================================================
doctrine ``Doctrine\Bundle\DoctrineBundle\Registry``
filesystem ``Symfony\Component\Filesystem\Filesystem``
form.factory ``Symfony\Component\Form\FormFactory``
logger ``Symfony\Bridge\Monolog\Logger``
request_stack ``Symfony\Component\HttpFoundation\RequestStack``
router ``Symfony\Bundle\FrameworkBundle\Routing\Router``
security.authorization_checker ``Symfony\Component\Security\Core\Authorization\AuthorizationChecker``
security.password_encoder ``Symfony\Component\Security\Core\Encoder\UserPasswordEncoder``
session ``Symfony\Component\HttpFoundation\Session\Session``
translator ``Symfony\Component\Translation\DataCollectorTranslator``
twig ``Twig\Environment``
validator ``Symfony\Component\Validator\Validator\ValidatorInterface``
=============================== =======================================================================
$ php app/console debug:container
# this is just a *small* sample of the output...
=============================== =======================================================================
Service ID Class name
=============================== =======================================================================
doctrine ``Doctrine\Bundle\DoctrineBundle\Registry``
filesystem ``Symfony\Component\Filesystem\Filesystem``
form.factory ``Symfony\Component\Form\FormFactory``
logger ``Symfony\Bridge\Monolog\Logger``
request_stack ``Symfony\Component\HttpFoundation\RequestStack``
router ``Symfony\Bundle\FrameworkBundle\Routing\Router``
security.authorization_checker ``Symfony\Component\Security\Core\Authorization\AuthorizationChecker``
security.password_encoder ``Symfony\Component\Security\Core\Encoder\UserPasswordEncoder``
session ``Symfony\Component\HttpFoundation\Session\Session``
translator ``Symfony\Component\Translation\DataCollectorTranslator``
twig ``Twig\Environment``
validator ``Symfony\Component\Validator\Validator\ValidatorInterface``
=============================== =======================================================================
Throughout the docs, you'll see how to use the many different services that live
in the container.
Expand Down

0 comments on commit e88ffea

Please sign in to comment.