@@ -92,13 +92,13 @@ Simple Single Connection:
92
92
http://www.symfony-project.org/schema/dic/doctrine/odm/mongodb http://www.symfony-project.org/schema/dic/doctrine/odm/mongodb/mongodb-1.0.xsd" >
93
93
94
94
<doctrine : mongodb server =" mongodb://localhost:27017"
95
- default_database =" hello_%kernel.environment%" >
96
- <metadata_cache_driver type =" memcache" >
95
+ default-database =" hello_%kernel.environment%" >
96
+ <metadata-cache-driver type =" memcache" >
97
97
<class >Doctrine\Common\Cache\MemcacheCache</class >
98
98
<host >localhost</host >
99
99
<port >11211</port >
100
- <instance_class >Memcache</instance_class >
101
- </metadata_cache_driver >
100
+ <instance-class >Memcache</instance_class >
101
+ </metadata-cache-driver >
102
102
<options >
103
103
<connect >true</connect >
104
104
</options >
@@ -117,12 +117,12 @@ Multiple Connections:
117
117
xsi : schemaLocation =" http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd
118
118
http://www.symfony-project.org/schema/dic/doctrine/odm/mongodb http://www.symfony-project.org/schema/dic/doctrine/odm/mongodb/mongodb-1.0.xsd" >
119
119
120
- <doctrine : mongodb default_database =" hello_%kernel.environment%"
121
- metadata_cache_driver =" apc"
122
- default_document_manager =" dm2"
123
- default_connection =" dm2"
124
- proxy_namespace =" Proxies"
125
- auto_generate_proxy_classes =" true" >
120
+ <doctrine : mongodb default-database =" hello_%kernel.environment%"
121
+ metadata-cache-driver =" apc"
122
+ default-document-manager =" dm2"
123
+ default-connection =" dm2"
124
+ proxy-namespace =" Proxies"
125
+ auto-generate-proxy-classes =" true" >
126
126
<doctrine : connections >
127
127
<doctrine : connection id =" conn1" server =" mongodb://localhost:27017" >
128
128
<options >
@@ -135,10 +135,10 @@ Multiple Connections:
135
135
</options >
136
136
</doctrine : connection >
137
137
</doctrine : connections >
138
- <doctrine : document_managers >
139
- <doctrine : document_manager id =" dm1" server =" mongodb://localhost:27017" metadata_cache_driver =" xcache" connection =" conn1" />
140
- <doctrine : document_manager id =" dm2" server =" mongodb://localhost:27017" connection =" conn2" />
141
- </doctrine : document_managers >
138
+ <doctrine : document-managers >
139
+ <doctrine : document-manager id =" dm1" server =" mongodb://localhost:27017" metadata-cache-driver =" xcache" connection =" conn1" />
140
+ <doctrine : document-manager id =" dm2" server =" mongodb://localhost:27017" connection =" conn2" />
141
+ </doctrine : document-managers >
142
142
</doctrine : mongodb >
143
143
</container >
144
144
0 commit comments