@@ -20,7 +20,7 @@ Full Default Configuration
20
20
# A collection of custom types
21
21
# Example
22
22
some_custom_type :
23
- class : App\Bridge\Doctrine\ DBAL\MyCustomType
23
+ class : App\DBAL\MyCustomType
24
24
commented : true
25
25
26
26
@@ -163,17 +163,17 @@ Full Default Configuration
163
163
# a collection of string functions
164
164
string_functions :
165
165
# example
166
- # test_string: App\Bridge\Doctrine\ DQL\StringFunction
166
+ # test_string: App\DQL\StringFunction
167
167
168
168
# a collection of numeric functions
169
169
numeric_functions :
170
170
# example
171
- # test_numeric: App\Bridge\Doctrine\ DQL\NumericFunction
171
+ # test_numeric: App\DQL\NumericFunction
172
172
173
173
# a collection of datetime functions
174
174
datetime_functions :
175
175
# example
176
- # test_datetime: App\Bridge\Doctrine\ DQL\DatetimeFunction
176
+ # test_datetime: App\DQL\DatetimeFunction
177
177
178
178
# Register SQL Filters in the entity manager
179
179
filters :
@@ -204,22 +204,22 @@ Full Default Configuration
204
204
user =" user"
205
205
password =" secret"
206
206
driver =" pdo_mysql"
207
- driver-class =" App\Bridge\Doctrine\ DBAL\MyDatabaseDriver"
207
+ driver-class =" App\DBAL\MyDatabaseDriver"
208
208
path =" %kernel.project_dir%/var/data/data.sqlite"
209
209
memory =" true"
210
210
unix-socket =" /tmp/mysql.sock"
211
- wrapper-class =" App\Bridge\Doctrine\ DBAL\MyConnectionWrapper"
211
+ wrapper-class =" App\DBAL\MyConnectionWrapper"
212
212
charset =" UTF8"
213
213
logging =" %kernel.debug%"
214
- platform-service =" App\Bridge\Doctrine\ DBAL\MyDatabasePlatformService"
214
+ platform-service =" App\DBAL\MyDatabasePlatformService"
215
215
server-version =" 5.6"
216
216
keep-slave =" false"
217
217
>
218
218
<doctrine : option key =" foo" >bar</doctrine : option >
219
219
<doctrine : mapping-type name =" enum" >string</doctrine : mapping-type >
220
220
</doctrine : connection >
221
221
<doctrine : connection name =" conn1" />
222
- <doctrine : type name =" custom" >App\Bridge\Doctrine\ DBAL\MyCustomType</doctrine : type >
222
+ <doctrine : type name =" custom" >App\DBAL\MyCustomType</doctrine : type >
223
223
</doctrine : dbal >
224
224
225
225
<doctrine : orm
@@ -247,15 +247,15 @@ Full Default Configuration
247
247
248
248
<doctrine : dql >
249
249
<doctrine : string-function name =" test_string" >
250
- App\Bridge\Doctrine\ DQL\StringFunction
250
+ App\DQL\StringFunction
251
251
</doctrine : string-function >
252
252
253
253
<doctrine : numeric-function name =" test_numeric" >
254
- App\Bridge\Doctrine\ DQL\NumericFunction
254
+ App\DQL\NumericFunction
255
255
</doctrine : numeric-function >
256
256
257
257
<doctrine : datetime-function name =" test_datetime" >
258
- App\Bridge\Doctrine\ DQL\DatetimeFunction
258
+ App\DQL\DatetimeFunction
259
259
</doctrine : datetime-function >
260
260
</doctrine : dql >
261
261
</doctrine : entity-manager >
@@ -301,23 +301,23 @@ The following block shows all possible configuration keys:
301
301
password : secret
302
302
driver : pdo_mysql
303
303
# the DBAL driverClass option
304
- driver_class : App\Bridge\Doctrine\ DBAL\MyDatabaseDriver
304
+ driver_class : App\DBAL\MyDatabaseDriver
305
305
# the DBAL driverOptions option
306
306
options :
307
307
foo : bar
308
308
path : ' %kernel.project_dir%/app/data/data.sqlite'
309
309
memory : true
310
310
unix_socket : /tmp/mysql.sock
311
311
# the DBAL wrapperClass option
312
- wrapper_class : App\Bridge\Doctrine\ DBAL\MyConnectionWrapper
312
+ wrapper_class : App\DBAL\MyConnectionWrapper
313
313
charset : UTF8
314
314
logging : ' %kernel.debug%'
315
- platform_service : App\Bridge\Doctrine\ DBAL\MyDatabasePlatformService
315
+ platform_service : App\DBAL\MyDatabasePlatformService
316
316
server_version : 5.6
317
317
mapping_types :
318
318
enum : string
319
319
types :
320
- custom : App\Bridge\Doctrine\ DBAL\MyCustomType
320
+ custom : App\DBAL\MyCustomType
321
321
322
322
.. code-block :: xml
323
323
@@ -339,19 +339,19 @@ The following block shows all possible configuration keys:
339
339
user =" user"
340
340
password =" secret"
341
341
driver =" pdo_mysql"
342
- driver-class =" App\Bridge\Doctrine\ DBAL\MyDatabaseDriver"
342
+ driver-class =" App\DBAL\MyDatabaseDriver"
343
343
path =" %kernel.project_dir%/var/data/data.sqlite"
344
344
memory =" true"
345
345
unix-socket =" /tmp/mysql.sock"
346
- wrapper-class =" App\Bridge\Doctrine\ DBAL\MyConnectionWrapper"
346
+ wrapper-class =" App\DBAL\MyConnectionWrapper"
347
347
charset =" UTF8"
348
348
logging =" %kernel.debug%"
349
- platform-service =" App\Bridge\Doctrine\ DBAL\MyDatabasePlatformService"
349
+ platform-service =" App\DBAL\MyDatabasePlatformService"
350
350
server-version =" 5.6" >
351
351
352
352
<doctrine : option key =" foo" >bar</doctrine : option >
353
353
<doctrine : mapping-type name =" enum" >string</doctrine : mapping-type >
354
- <doctrine : type name =" custom" >App\Bridge\Doctrine\ DBAL\MyCustomType</doctrine : type >
354
+ <doctrine : type name =" custom" >App\DBAL\MyCustomType</doctrine : type >
355
355
</doctrine : dbal >
356
356
</doctrine : config >
357
357
</container >
@@ -480,7 +480,7 @@ The following example shows an overview of the caching configurations:
480
480
# the 'service' type requires to define the 'id' option too
481
481
query_cache_driver :
482
482
type : service
483
- id : App\Bridge\Doctrine\ ORM\MyCacheService
483
+ id : App\ORM\MyCacheService
484
484
485
485
Mapping Configuration
486
486
~~~~~~~~~~~~~~~~~~~~~
0 commit comments