File tree Expand file tree Collapse file tree 1 file changed +6
-18
lines changed
Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -141,11 +141,8 @@ mapping type:
141141 # app/config/config.yml
142142 doctrine :
143143 dbal :
144- connections :
145- default :
146- # other connections parameters
147- mapping_types :
148- enum : string
144+ mapping_types :
145+ enum : string
149146
150147 .. code-block :: xml
151148
@@ -158,11 +155,7 @@ mapping type:
158155
159156 <doctrine : config >
160157 <doctrine : dbal >
161- <doctrine : dbal default-connection =" default" >
162- <doctrine : connection >
163- <!-- other connections parameters -->
164- <doctrine : mapping-type name =" enum" >string</doctrine : mapping-type >
165- </doctrine : connection >
158+ <doctrine : mapping-type name =" enum" >string</doctrine : mapping-type >
166159 </doctrine : dbal >
167160 </doctrine : config >
168161 </container >
@@ -172,14 +165,9 @@ mapping type:
172165 // app/config/config.php
173166 $container->loadFromExtension('doctrine', array(
174167 'dbal' => array(
175- 'connections' => array(
176- 'default' => array(
177- // other connection parameers
178- 'mapping_types' => array(
179- 'enum' => 'string',
180- ),
181- ),
182- ),
168+ mapping_types' => array(
169+ 'enum' => 'string',
170+ ),
183171 ),
184172 ));
185173
You can’t perform that action at this time.
0 commit comments