/Resources/config/facebook.xml

http://github.com/FriendsOfSymfony/FOSFacebookBundle · XML · 35 lines · 29 code · 6 blank · 0 comment · 0 complexity · f8ef8d4c768fc80b31fab198ef09114b MD5 · raw file

  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. <services>
  6. <service id="fos_facebook.api" class="%fos_facebook.api.class%">
  7. <argument type="collection">
  8. <argument key="appId">%fos_facebook.app_id%</argument>
  9. <argument key="secret">%fos_facebook.secret%</argument>
  10. <argument key="cookie">%fos_facebook.cookie%</argument>
  11. <argument key="domain">%fos_facebook.domain%</argument>
  12. </argument>
  13. <argument type="service" id="session" />
  14. </service>
  15. <service id="fos_facebook.helper" class="%fos_facebook.helper.class%">
  16. <argument type="service" id="templating" />
  17. <argument type="service" id="fos_facebook.api" />
  18. <argument type="service" id="router" />
  19. <argument>%fos_facebook.logging%</argument>
  20. <argument>%fos_facebook.culture%</argument>
  21. <argument>%fos_facebook.permissions%</argument>
  22. <tag name="templating.helper" alias="facebook" />
  23. </service>
  24. <service id="fos_facebook.twig" class="%fos_facebook.twig.class%">
  25. <argument type="service" id="service_container" />
  26. <tag name="twig.extension" />
  27. </service>
  28. </services>
  29. </container>