<?xml version="1.0" ?>
<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">
<services>
<service id="jlaso_translations.client.api" class="JLaso\TranslationsApiBundle\Service\ClientApiService">
<argument>%jlaso_translations_api_access%</argument>
<argument>%kernel.environment%</argument>
</service>
<service id="jlaso_translations.client.socket" class="JLaso\TranslationsApiBundle\Service\ClientSocketService">
<argument>%jlaso_translations_api_access%</argument>
<argument>%kernel.environment%</argument>
</service>
<service id="jlaso_translations.loader.pdo" class="JLaso\TranslationsApiBundle\Translation\Loader\PdoLoader">
<argument type="service" id="doctrine.orm.entity_manager" />
<argument>%jlaso_translations_api_access%</argument>
<call method="registerResources">
<argument type="service" id="translator" />
</call>
<tag name="translation.loader" alias="pdo"/>
</service>
<service id="jlaso_translations.data_collector" class="JLaso\TranslationsApiBundle\Component\HttpKernel\DataCollector\TranslationsDataCollector">
<argument type="service" id="translator"></argument>
<tag name="data_collector" template="JLasoTranslationsBundle:DataCollector:translations" id="translations" priority="1"/>
</service>
</services>
</container>
|