api_controllers.xml 897 B

1234567891011121314
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  3. <services>
  4. <service id="sonata.user.controller.api.user" class="Sonata\UserBundle\Controller\Api\UserController">
  5. <argument type="service" id="sonata.user.user_manager"/>
  6. <argument type="service" id="sonata.user.group_manager"/>
  7. <argument type="service" id="form.factory"/>
  8. </service>
  9. <service id="sonata.user.controller.api.group" class="Sonata\UserBundle\Controller\Api\GroupController">
  10. <argument type="service" id="sonata.user.group_manager"/>
  11. <argument type="service" id="form.factory"/>
  12. </service>
  13. </services>
  14. </container>