couchdb.xml 1.4 KB

1234567891011121314151617181920212223242526272829
  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. <parameters>
  6. <parameter key="fos_user.user_manager.class">FOS\UserBundle\Doctrine\UserManager</parameter>
  7. </parameters>
  8. <services>
  9. <service id="fos_user.user_manager.default" class="%fos_user.user_manager.class%">
  10. <argument type="service" id="security.encoder_factory" />
  11. <argument type="service" id="fos_user.util.username_canonicalizer" />
  12. <argument type="service" id="fos_user.util.email_canonicalizer" />
  13. <argument type="service" id="fos_user.document_manager" />
  14. <argument>%fos_user.model.user.class%</argument>
  15. </service>
  16. <service id="fos_user.document_manager" factory-service="doctrine_couchdb" factory-method="getManager" class="Doctrine\ODM\CouchDB\DocumentManager" public="false">
  17. <argument>%fos_user.model_manager_name%</argument>
  18. </service>
  19. <service id="fos_user.user_listener" class="FOS\UserBundle\CouchDocument\UserListener" public="false">
  20. <argument type="service" id="service_container" />
  21. </service>
  22. </services>
  23. </container>