File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ Configuration Reference
30
30
charset : UTF8
31
31
logging : %kernel.debug%
32
32
platform_service : MyOwnDatabasePlatformService
33
+ mapping_types :
34
+ enum : string
33
35
conn1 :
34
36
# ...
35
37
types :
@@ -91,9 +93,12 @@ Configuration Reference
91
93
charset =" UTF8"
92
94
logging =" %kernel.debug%"
93
95
platform-service =" MyOwnDatabasePlatformService"
94
- />
96
+ >
97
+ <doctrine : option key =" foo" >bar</doctrine : option >
98
+ <doctrine : mapping-type name =" enum" >string</doctrine : mapping-type >
99
+ </doctrine : connection >
95
100
<doctrine : connection name =" conn1" />
96
- <doctrine : type name =" custom" class = " Acme\HelloBundle\MyCustomType" / >
101
+ <doctrine : type name =" custom" > Acme\HelloBundle\MyCustomType</ doctrine : type >
97
102
</doctrine : dbal >
98
103
99
104
<doctrine : orm default-entity-manager =" default" auto-generate-proxy-classes =" true" proxy-namespace =" Proxies" proxy-dir =" %kernel.cache_dir%/doctrine/orm/Proxies" >
@@ -235,6 +240,10 @@ can configure. The following block shows all possible configuration keys:
235
240
charset: UTF8
236
241
logging: %kernel.debug%
237
242
platform_service: MyOwnDatabasePlatformService
243
+ mapping_types:
244
+ enum: string
245
+ types:
246
+ custom: Acme\HelloBundle\MyCustomType
238
247
239
248
.. code-block:: xml
240
249
@@ -258,7 +267,11 @@ can configure. The following block shows all possible configuration keys:
258
267
charset=" UTF8"
259
268
logging=" %kernel.debug%"
260
269
platform-service=" MyOwnDatabasePlatformService"
261
- />
270
+ >
271
+ <doctrine:option key=" foo" >bar</doctrine:option>
272
+ <doctrine:mapping-type name=" enum" >string</doctrine:mapping-type>
273
+ <doctrine:type name=" custom" >Acme\HelloBundle\MyCustomType</doctrine:type>
274
+ </doctrine:dbal>
262
275
</doctrine:config>
263
276
264
277
If you want to configure multiple connections in YAML, put them under the
You can’t perform that action at this time.
0 commit comments