30 lines
1.2 KiB
XML
30 lines
1.2 KiB
XML
|
<?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.cache.file_cache.class">Annotations\Cache\FileCache</parameter>
|
||
|
|
||
|
<parameter key="annotations.reader.class">Annotations\Reader</parameter>
|
||
|
<parameter key="annotations.cached_reader.class">Annotations\CachedReader</parameter>
|
||
|
</parameters>
|
||
|
|
||
|
<services>
|
||
|
<service id="annotations.cache.file_cache" class="%annotations.cache.file_cache.class%" public="false">
|
||
|
<argument /><!-- Cache Directory -->
|
||
|
<argument /><!-- Debug-Flag -->
|
||
|
</service>
|
||
|
|
||
|
<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 type="service" id="annotations.cache.file_cache" />
|
||
|
</service>
|
||
|
|
||
|
<service id="annotation_reader" alias="annotations.cached_reader" />
|
||
|
</services>
|
||
|
</container>
|