This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
/
odm.xml
66 lines (54 loc) · 3.65 KB
/
odm.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?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="doctrine_couchdb.odm.configuration.class">Doctrine\ODM\CouchDB\Configuration</parameter>
<parameter key="doctrine_couchdb.odm.document_manager.class">Doctrine\ODM\CouchDB\DocumentManager</parameter>
<parameter key="doctrine_couchdb.odm.document_manager.event_manager.class">Doctrine\Common\EventManager</parameter>
<!-- cache -->
<parameter key="doctrine_couchdb.odm.cache.array.class">Doctrine\Common\Cache\ArrayCache</parameter>
<parameter key="doctrine_couchdb.odm.cache.apc.class">Doctrine\Common\Cache\ApcCache</parameter>
<parameter key="doctrine_couchdb.odm.cache.memcache.class">Doctrine\Common\Cache\MemcacheCache</parameter>
<parameter key="doctrine_couchdb.odm.cache.memcache_host">localhost</parameter>
<parameter key="doctrine_couchdb.odm.cache.memcache_port">11211</parameter>
<parameter key="doctrine_couchdb.odm.cache.memcache_instance.class">Memcache</parameter>
<parameter key="doctrine_couchdb.odm.cache.xcache.class">Doctrine\Common\Cache\XcacheCache</parameter>
<parameter key="doctrine_couchdb.odm.proxy_cache_warmer.class">Doctrine\Bundle\CouchDBBundle\CacheWarmer\ProxyCacheWarmer</parameter>
<parameter key="doctrine_couchdb.odm.metadata.driver_chain.class">Doctrine\ODM\CouchDB\Mapping\Driver\DriverChain</parameter>
<parameter key="doctrine_couchdb.odm.metadata.annotation.class">Doctrine\ODM\CouchDB\Mapping\Driver\AnnotationDriver</parameter>
<parameter key="doctrine_couchdb.odm.metadata.annotation_reader.class">Symfony\Bridge\Doctrine\Annotations\IndexedReader</parameter>
<parameter key="doctrine_couchdb.odm.metadata.xml.class">Doctrine\Bundle\CouchDBBundle\Mapping\Driver\XmlDriver</parameter>
<parameter key="doctrine_couchdb.odm.metadata.yml.class">Doctrine\Bundle\CouchDBBundle\Mapping\Driver\YamlDriver</parameter>
<parameter key="doctrine_couchdb.odm.metadata.php.class">Doctrine\ODM\CouchDB\Mapping\Driver\PHPDriver</parameter>
</parameters>
<services>
<service id="doctrine_couchdb.odm.metadata.annotation_reader" class="%doctrine_couchdb.odm.metadata.annotation_reader.class%" public="false">
<argument type="service" id="annotation_reader" />
</service>
<service id="doctrine_couchdb.odm.proxy_cache_warmer" class="%doctrine_couchdb.odm.proxy_cache_warmer.class%" public="false">
<tag name="kernel.cache_warmer" />
<argument type="service" id="service_container" />
</service>
<service
id="doctrine_couchdb.odm.configuration"
class="%doctrine_couchdb.odm.configuration.class%"
abstract="true"
public="false"
/>
<service
id="doctrine_couchdb.odm.document_manager.abstract"
class="%doctrine_couchdb.odm.document_manager.class%"
abstract="true"
/>
<service
id="doctrine_couchdb.odm.document_manager.event_manager"
abstract="true"
class="%doctrine_couchdb.odm.document_manager.event_manager.class%"
/>
<service id="form.type.couchdb.document" class="Doctrine\Bundle\CouchDBBundle\Form\Type\DocumentType">
<tag name="form.type" alias="couchdb_document" />
<argument type="service" id="doctrine_couchdb" />
</service>
</services>
</container>