2011-04-08 00:41:16 +02:00
|
|
|
<?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>
|
2011-04-09 00:40:31 +02:00
|
|
|
<parameter key="webservice.annotations.reader.class">Bundle\WebServiceBundle\ServiceDefinition\Loader\AnnotationReader</parameter>
|
|
|
|
<parameter key="webservice.annotations.parser.class">Bundle\WebServiceBundle\ServiceDefinition\Loader\AnnotationParser</parameter>
|
2011-04-08 00:41:16 +02:00
|
|
|
</parameters>
|
|
|
|
|
|
|
|
<services>
|
|
|
|
<service id="webservice.annotations.parser" class="%webservice.annotations.parser.class%">
|
|
|
|
<call method="setAutoloadAnnotations"><argument>true</argument></call>
|
|
|
|
<call method="setAnnotationNamespaceAlias">
|
|
|
|
<argument>Bundle\WebServiceBundle\ServiceDefinition\Annotation\</argument>
|
|
|
|
<argument>ws</argument>
|
|
|
|
</call>
|
|
|
|
</service>
|
|
|
|
|
|
|
|
<service id="webservice.annotations.reader" class="%webservice.annotations.reader.class%">
|
|
|
|
<argument type="service" id="webservice.annotations.cache" strict="false" />
|
|
|
|
<argument type="service" id="webservice.annotations.parser" />
|
|
|
|
</service>
|
|
|
|
|
|
|
|
<service id="webservice.annotations.cache.array" class="Doctrine\Common\Cache\ArrayCache" scope="prototype" />
|
|
|
|
|
|
|
|
<service id="webservice.annotations.cache" alias="webservice.annotations.cache.array" />
|
|
|
|
</services>
|
|
|
|
</container>
|