PHP Classes

File: Resources/config/services.xml

Recommend this page to a friend!
  Classes of Joseluis Laso   Tradukoj.com Translations API Bundle   Resources/config/services.xml   Download  
File: Resources/config/services.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Tradukoj.com Translations API Bundle
Get remote translations for Symfony projects
Author: By
Last change:
Date: 9 years ago
Size: 1,652 bytes
 

Contents

Class file image Download
<?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>