collectors.xml 949 B

12345678910111213141516171819
  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="data_collector.security.class">Symfony\Bundle\SecurityBundle\DataCollector\SecurityDataCollector</parameter>
  7. </parameters>
  8. <services>
  9. <service id="data_collector.security" class="%data_collector.security.class%" public="false">
  10. <tag name="data_collector" template="@Security/Collector/security.html.twig" id="security" priority="270" />
  11. <argument type="service" id="security.token_storage" on-invalid="ignore" />
  12. <argument type="service" id="security.role_hierarchy" />
  13. <argument type="service" id="security.logout_url_generator" />
  14. </service>
  15. </services>
  16. </container>