<?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="annotations.reader.class">Doctrine\Common\Annotations\AnnotationReader</parameter>
        <parameter key="annotations.cached_reader.class">Doctrine\Common\Annotations\CachedReader</parameter>
        <parameter key="annotations.file_cache_reader.class">Doctrine\Common\Annotations\FileCacheReader</parameter>
    </parameters>

    <services>
        <service id="annotations.reader" class="%annotations.reader.class%" public="false" />

        <service id="annotations.cached_reader" class="%annotations.cached_reader.class%" public="false">
            <argument type="service" id="annotations.reader" />
            <argument /><!-- Cache Implementation -->
            <argument /><!-- Debug-Flag -->
        </service>

        <service id="annotations.file_cache_reader" class="%annotations.file_cache_reader.class%" public="false">
            <argument type="service" id="annotations.reader" />
            <argument /><!-- Cache-Directory -->
            <argument /><!-- Debug Flag -->
        </service>

        <service id="annotation_reader" alias="annotations.reader" />
    </services>
</container>
