resetting.xml 1.3KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8" ?>
  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. <services>
  6. <service id="fos_user.resetting.form" factory-method="createNamed" factory-service="form.factory" class="Symfony\Component\Form\Form">
  7. <argument>%fos_user.resetting.form.name%</argument>
  8. <argument>%fos_user.resetting.form.type%</argument>
  9. <argument>null</argument>
  10. <argument type="collection">
  11. <argument key="validation_groups">%fos_user.resetting.form.validation_groups%</argument>
  12. </argument>
  13. </service>
  14. <service id="fos_user.resetting.form.type" class="FOS\UserBundle\Form\Type\ResettingFormType">
  15. <tag name="form.type" alias="fos_user_resetting" />
  16. </service>
  17. <service id="fos_user.resetting.form.handler.default" class="FOS\UserBundle\Form\Handler\ResettingFormHandler" scope="request" public="false">
  18. <argument type="service" id="fos_user.resetting.form" />
  19. <argument type="service" id="request" />
  20. <argument type="service" id="fos_user.user_manager" />
  21. </service>
  22. </services>
  23. </container>