annotations.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" ?>
  2. <container xmlns="http://symfony.com/schema/dic/services"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  5. <parameters>
  6. <parameter key="annotations.reader.class">Doctrine\Common\Annotations\AnnotationReader</parameter>
  7. <parameter key="annotations.cached_reader.class">Doctrine\Common\Annotations\CachedReader</parameter>
  8. <parameter key="annotations.file_cache_reader.class">Doctrine\Common\Annotations\FileCacheReader</parameter>
  9. </parameters>
  10. <services>
  11. <service id="annotations.reader" class="%annotations.reader.class%" public="false" />
  12. <service id="annotations.cached_reader" class="%annotations.cached_reader.class%" public="false">
  13. <argument type="service" id="annotations.reader" />
  14. <argument /><!-- Cache Implementation -->
  15. <argument /><!-- Debug-Flag -->
  16. </service>
  17. <service id="annotations.filesystem_cache" class="Doctrine\Common\Cache\FilesystemCache" public="false">
  18. <argument /><!-- Cache-Directory -->
  19. </service>
  20. <service id="annotations.file_cache_reader" class="%annotations.file_cache_reader.class%" public="false">
  21. <deprecated>The "%service_id%" service is deprecated since 2.8 and will be removed in 3.0.</deprecated>
  22. <argument type="service" id="annotations.reader" />
  23. <argument /><!-- Cache-Directory -->
  24. <argument /><!-- Debug Flag -->
  25. </service>
  26. <service id="annotation_reader" alias="annotations.reader" />
  27. </services>
  28. </container>