profiler.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" ?>
  2. <container xmlns="http://symfony.com/schema/dic/services"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  5. <parameters>
  6. <parameter key="web_profiler.controller.profiler.class">Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController</parameter>
  7. <parameter key="web_profiler.controller.router.class">Symfony\Bundle\WebProfilerBundle\Controller\RouterController</parameter>
  8. <parameter key="web_profiler.controller.exception.class">Symfony\Bundle\WebProfilerBundle\Controller\ExceptionController</parameter>
  9. </parameters>
  10. <services>
  11. <service id="web_profiler.controller.profiler" class="%web_profiler.controller.profiler.class%">
  12. <argument type="service" id="router" on-invalid="null" />
  13. <argument type="service" id="profiler" on-invalid="null" />
  14. <argument type="service" id="twig" />
  15. <argument>%data_collector.templates%</argument>
  16. <argument>%web_profiler.debug_toolbar.position%</argument>
  17. </service>
  18. <service id="web_profiler.controller.router" class="%web_profiler.controller.router.class%">
  19. <argument type="service" id="profiler" on-invalid="null" />
  20. <argument type="service" id="twig" />
  21. <argument type="service" id="router" on-invalid="null" />
  22. </service>
  23. <service id="web_profiler.controller.exception" class="%web_profiler.controller.exception.class%">
  24. <argument type="service" id="profiler" on-invalid="null" />
  25. <argument type="service" id="twig" />
  26. <argument>%kernel.debug%</argument>
  27. </service>
  28. </services>
  29. </container>