File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ Configuration Reference
48
48
mappings : # Required
49
49
AcmeHelloBundle : ~
50
50
class_metadata_factory_name : Doctrine\ORM\Mapping\ClassMetadataFactory
51
- # All cache drivers have to be array, apc, xcache or memcache
51
+ # All cache drivers have to be array, apc, xcache, memcache or service
52
52
metadata_cache_driver : array
53
53
query_cache_driver : array
54
54
result_cache_driver :
@@ -152,8 +152,8 @@ certain classes, but those are for very advanced use-cases only.
152
152
Caching Drivers
153
153
~~~~~~~~~~~~~~~
154
154
155
- For the caching drivers you can specify the values " array" , " apc" , " memcache"
156
- or " xcache " .
155
+ For the caching drivers you can specify the values " array" , " apc" , " memcache" ,
156
+ " xcache " or " service " .
157
157
158
158
The following example shows an overview of the caching configurations:
159
159
@@ -163,7 +163,9 @@ The following example shows an overview of the caching configurations:
163
163
orm:
164
164
auto_mapping: true
165
165
metadata_cache_driver: apc
166
- query_cache_driver: xcache
166
+ query_cache_driver:
167
+ type: service
168
+ id: my_doctrine_common_cache_service
167
169
result_cache_driver:
168
170
type: memcache
169
171
host: localhost
You can’t perform that action at this time.
0 commit comments