Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitef2a044

Browse files
committed
Remove App\Bridge\Doctrine\ namespace
1 parentda67105 commitef2a044

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

‎reference/configuration/doctrine.rst‎

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Full Default Configuration
2020
# A collection of custom types
2121
# Example
2222
some_custom_type:
23-
class:App\Bridge\Doctrine\DBAL\MyCustomType
23+
class:App\DBAL\MyCustomType
2424
commented:true
2525
2626
@@ -163,17 +163,17 @@ Full Default Configuration
163163
# a collection of string functions
164164
string_functions:
165165
# example
166-
# test_string: App\Bridge\Doctrine\DQL\StringFunction
166+
# test_string: App\DQL\StringFunction
167167
168168
# a collection of numeric functions
169169
numeric_functions:
170170
# example
171-
# test_numeric: App\Bridge\Doctrine\DQL\NumericFunction
171+
# test_numeric: App\DQL\NumericFunction
172172
173173
# a collection of datetime functions
174174
datetime_functions:
175175
# example
176-
# test_datetime: App\Bridge\Doctrine\DQL\DatetimeFunction
176+
# test_datetime: App\DQL\DatetimeFunction
177177
178178
# Register SQL Filters in the entity manager
179179
filters:
@@ -204,22 +204,22 @@ Full Default Configuration
204204
user="user"
205205
password="secret"
206206
driver="pdo_mysql"
207-
driver-class="App\Bridge\Doctrine\DBAL\MyDatabaseDriver"
207+
driver-class="App\DBAL\MyDatabaseDriver"
208208
path="%kernel.project_dir%/var/data/data.sqlite"
209209
memory="true"
210210
unix-socket="/tmp/mysql.sock"
211-
wrapper-class="App\Bridge\Doctrine\DBAL\MyConnectionWrapper"
211+
wrapper-class="App\DBAL\MyConnectionWrapper"
212212
charset="UTF8"
213213
logging="%kernel.debug%"
214-
platform-service="App\Bridge\Doctrine\DBAL\MyDatabasePlatformService"
214+
platform-service="App\DBAL\MyDatabasePlatformService"
215215
server-version="5.6"
216216
keep-slave="false"
217217
>
218218
<doctrine:optionkey="foo">bar</doctrine:option>
219219
<doctrine:mapping-typename="enum">string</doctrine:mapping-type>
220220
</doctrine:connection>
221221
<doctrine:connectionname="conn1" />
222-
<doctrine:typename="custom">App\Bridge\Doctrine\DBAL\MyCustomType</doctrine:type>
222+
<doctrine:typename="custom">App\DBAL\MyCustomType</doctrine:type>
223223
</doctrine:dbal>
224224
225225
<doctrine:orm
@@ -247,15 +247,15 @@ Full Default Configuration
247247
248248
<doctrine:dql>
249249
<doctrine:string-functionname="test_string">
250-
App\Bridge\Doctrine\DQL\StringFunction
250+
App\DQL\StringFunction
251251
</doctrine:string-function>
252252
253253
<doctrine:numeric-functionname="test_numeric">
254-
App\Bridge\Doctrine\DQL\NumericFunction
254+
App\DQL\NumericFunction
255255
</doctrine:numeric-function>
256256
257257
<doctrine:datetime-functionname="test_datetime">
258-
App\Bridge\Doctrine\DQL\DatetimeFunction
258+
App\DQL\DatetimeFunction
259259
</doctrine:datetime-function>
260260
</doctrine:dql>
261261
</doctrine:entity-manager>
@@ -301,23 +301,23 @@ The following block shows all possible configuration keys:
301301
password:secret
302302
driver:pdo_mysql
303303
# the DBAL driverClass option
304-
driver_class:App\Bridge\Doctrine\DBAL\MyDatabaseDriver
304+
driver_class:App\DBAL\MyDatabaseDriver
305305
# the DBAL driverOptions option
306306
options:
307307
foo:bar
308308
path:'%kernel.project_dir%/app/data/data.sqlite'
309309
memory:true
310310
unix_socket:/tmp/mysql.sock
311311
# the DBAL wrapperClass option
312-
wrapper_class:App\Bridge\Doctrine\DBAL\MyConnectionWrapper
312+
wrapper_class:App\DBAL\MyConnectionWrapper
313313
charset:UTF8
314314
logging:'%kernel.debug%'
315-
platform_service:App\Bridge\Doctrine\DBAL\MyDatabasePlatformService
315+
platform_service:App\DBAL\MyDatabasePlatformService
316316
server_version:5.6
317317
mapping_types:
318318
enum:string
319319
types:
320-
custom:App\Bridge\Doctrine\DBAL\MyCustomType
320+
custom:App\DBAL\MyCustomType
321321
322322
..code-block::xml
323323
@@ -339,19 +339,19 @@ The following block shows all possible configuration keys:
339339
user="user"
340340
password="secret"
341341
driver="pdo_mysql"
342-
driver-class="App\Bridge\Doctrine\DBAL\MyDatabaseDriver"
342+
driver-class="App\DBAL\MyDatabaseDriver"
343343
path="%kernel.project_dir%/var/data/data.sqlite"
344344
memory="true"
345345
unix-socket="/tmp/mysql.sock"
346-
wrapper-class="App\Bridge\Doctrine\DBAL\MyConnectionWrapper"
346+
wrapper-class="App\DBAL\MyConnectionWrapper"
347347
charset="UTF8"
348348
logging="%kernel.debug%"
349-
platform-service="App\Bridge\Doctrine\DBAL\MyDatabasePlatformService"
349+
platform-service="App\DBAL\MyDatabasePlatformService"
350350
server-version="5.6">
351351
352352
<doctrine:optionkey="foo">bar</doctrine:option>
353353
<doctrine:mapping-typename="enum">string</doctrine:mapping-type>
354-
<doctrine:typename="custom">App\Bridge\Doctrine\DBAL\MyCustomType</doctrine:type>
354+
<doctrine:typename="custom">App\DBAL\MyCustomType</doctrine:type>
355355
</doctrine:dbal>
356356
</doctrine:config>
357357
</container>
@@ -480,7 +480,7 @@ The following example shows an overview of the caching configurations:
480480
# the 'service' type requires to define the 'id' option too
481481
query_cache_driver:
482482
type:service
483-
id:App\Bridge\Doctrine\ORM\MyCacheService
483+
id:App\ORM\MyCacheService
484484
485485
Mapping Configuration
486486
~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp