PageRenderTime 17ms CodeModel.GetById 10ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 3<container xmlns="http://symfony.com/schema/dic/services"
 4    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 5    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
 6
 7    <services>
 8
 9        <service id="fos_facebook.api" class="%fos_facebook.api.class%">
10            <argument type="collection">
11                <argument key="appId">%fos_facebook.app_id%</argument>
12                <argument key="secret">%fos_facebook.secret%</argument>
13                <argument key="cookie">%fos_facebook.cookie%</argument>
14                <argument key="domain">%fos_facebook.domain%</argument>
15            </argument>
16            <argument type="service" id="session" />
17        </service>
18
19        <service id="fos_facebook.helper" class="%fos_facebook.helper.class%">
20            <argument type="service" id="templating" />
21            <argument type="service" id="fos_facebook.api" />
22            <argument type="service" id="router" />
23            <argument>%fos_facebook.logging%</argument>
24            <argument>%fos_facebook.culture%</argument>
25            <argument>%fos_facebook.permissions%</argument>
26            <tag name="templating.helper" alias="facebook" />
27        </service>
28
29        <service id="fos_facebook.twig" class="%fos_facebook.twig.class%">
30            <argument type="service" id="service_container" />
31            <tag name="twig.extension" />
32        </service>
33
34    </services>
35</container>