Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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