PHP Classes
elePHPant
Icontem

File: vendor/doctrine/doctrine-bundle/Resources/config/dbal.xml

Recommend this page to a friend!
  Classes of Murat Cileli  >  Papernic  >  vendor/doctrine/doctrine-bundle/Resources/config/dbal.xml  >  Download  
File: vendor/doctrine/doctrine-bundle/Resources/config/dbal.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Papernic
Manage documents colaboratively
Author: By
Last change:
Date: 1 year ago
Size: 3,924 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">

    <parameters>
        <parameter key="doctrine.dbal.logger.chain.class">Doctrine\DBAL\Logging\LoggerChain</parameter>
        <parameter key="doctrine.dbal.logger.profiling.class">Doctrine\DBAL\Logging\DebugStack</parameter>
        <parameter key="doctrine.dbal.logger.class">Symfony\Bridge\Doctrine\Logger\DbalLogger</parameter>
        <parameter key="doctrine.dbal.configuration.class">Doctrine\DBAL\Configuration</parameter>
        <parameter key="doctrine.data_collector.class">Doctrine\Bundle\DoctrineBundle\DataCollector\DoctrineDataCollector</parameter>
        <parameter key="doctrine.dbal.connection.event_manager.class">Symfony\Bridge\Doctrine\ContainerAwareEventManager</parameter>
        <parameter key="doctrine.dbal.connection_factory.class">Doctrine\Bundle\DoctrineBundle\ConnectionFactory</parameter>
        <parameter key="doctrine.dbal.events.mysql_session_init.class">Doctrine\DBAL\Event\Listeners\MysqlSessionInit</parameter>
        <parameter key="doctrine.dbal.events.oracle_session_init.class">Doctrine\DBAL\Event\Listeners\OracleSessionInit</parameter>
        <parameter key="doctrine.class">Doctrine\Bundle\DoctrineBundle\Registry</parameter>
        <parameter key="doctrine.entity_managers" type="collection"></parameter>
        <parameter key="doctrine.default_entity_manager"></parameter>
    </parameters>

    <services>
        <service id="doctrine.dbal.logger.chain" class="%doctrine.dbal.logger.chain.class%" public="false" abstract="true">
            <call method="addLogger">
                <argument type="service" id="doctrine.dbal.logger" />
            </call>
        </service>

        <service id="doctrine.dbal.logger.profiling" class="%doctrine.dbal.logger.profiling.class%" public="false" abstract="true" />

        <service id="doctrine.dbal.logger" class="%doctrine.dbal.logger.class%" public="false">
            <tag name="monolog.logger" channel="doctrine" />
            <argument type="service" id="logger" on-invalid="null" />
            <argument type="service" id="debug.stopwatch" on-invalid="null" />
        </service>

        <service id="data_collector.doctrine" class="%doctrine.data_collector.class%" public="false">
            <tag name="data_collector" template="@Doctrine/Collector/db.html.twig" id="db" priority="250" />
            <argument type="service" id="doctrine" />
        </service>

        <service id="doctrine.dbal.connection_factory" class="%doctrine.dbal.connection_factory.class%">
            <argument>%doctrine.dbal.connection_factory.types%</argument>
        </service>

        <service id="doctrine.dbal.connection" class="Doctrine\DBAL\Connection" abstract="true" />

        <service id="doctrine.dbal.connection.event_manager" class="%doctrine.dbal.connection.event_manager.class%" public="false" abstract="true">
            <argument type="service" id="service_container" />
        </service>

        <service id="doctrine.dbal.connection.configuration" class="%doctrine.dbal.configuration.class%" public="false" abstract="true" />

        <service id="doctrine" class="%doctrine.class%">
            <argument type="service" id="service_container" />
            <argument>%doctrine.connections%</argument>
            <argument>%doctrine.entity_managers%</argument>
            <argument>%doctrine.default_connection%</argument>
            <argument>%doctrine.default_entity_manager%</argument>
        </service>

        <service id="doctrine.twig.doctrine_extension" class="Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension" public="false">
            <tag name="twig.extension" />
        </service>

    </services>
</container>