<?xml version="1.0" encoding="UTF-8"?>

<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="security.acl.dbal.provider.class">Symfony\Component\Security\Acl\Dbal\MutableAclProvider</parameter>
    </parameters>

    <services>
        <service id="security.acl.dbal.connection" alias="database_connection" />

        <service id="security.acl.dbal.provider" class="%security.acl.dbal.provider.class%" public="false">
            <argument type="service" id="security.acl.dbal.connection" />
            <argument type="service" id="security.acl.permission_granting_strategy" />
            <argument type="collection">
                <argument key="class_table_name">%security.acl.dbal.class_table_name%</argument>
                <argument key="entry_table_name">%security.acl.dbal.entry_table_name%</argument>
                <argument key="oid_table_name">%security.acl.dbal.oid_table_name%</argument>
                <argument key="oid_ancestors_table_name">%security.acl.dbal.oid_ancestors_table_name%</argument>
                <argument key="sid_table_name">%security.acl.dbal.sid_table_name%</argument>
            </argument>
            <argument type="service" id="security.acl.cache" on-invalid="null" />
        </service>

        <service id="security.acl.provider" alias="security.acl.dbal.provider" />

        <service id="security.acl.cache.doctrine" class="%security.acl.cache.doctrine.class%" public="false">
            <argument type="service" id="security.acl.cache.doctrine.cache_impl" />
            <argument type="service" id="security.acl.permission_granting_strategy" />
        </service>

        <service id="security.acl.cache.doctrine.cache_impl" alias="doctrine.orm.default_result_cache" public="false" />

        <service id="security.acl.permission.map" class="%security.acl.permission.map.class%" public="false"></service>
    </services>
</container>
