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:
141
141
# app/config/config.yml
142
142
doctrine :
143
143
dbal :
144
- connections :
145
- default :
146
- # other connections parameters
147
- mapping_types :
148
- enum : string
144
+ mapping_types :
145
+ enum : string
149
146
150
147
.. code-block :: xml
151
148
@@ -158,11 +155,7 @@ mapping type:
158
155
159
156
<doctrine : config >
160
157
<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 >
166
159
</doctrine : dbal >
167
160
</doctrine : config >
168
161
</container >
@@ -172,14 +165,9 @@ mapping type:
172
165
// app/config/config.php
173
166
$container->loadFromExtension('doctrine', array(
174
167
'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
+ ),
183
171
),
184
172
));
185
173
You can’t perform that action at this time.
0 commit comments