Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e766f4d

Browse files
committed
[reference] Clarifying a few dbal config options
1 parent b8a17f6 commit e766f4d

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

reference/configuration/doctrine.rst

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -212,14 +212,10 @@ can control. The following configuration options exist for a mapping:
212212
Doctrine DBAL Configuration
213213
---------------------------
214214
215-
.. note::
216-
217-
DoctrineBundle supports all parameters that default Doctrine drivers
218-
accept, converted to the XML or YAML naming standards that Symfony
219-
enforces. See the Doctrine `DBAL documentation`_ for more information.
220-
221-
Besides default Doctrine options, there are some Symfony-related ones that you
222-
can configure. The following block shows all possible configuration keys:
215+
DoctrineBundle supports all parameters that default Doctrine drivers
216+
accept, converted to the XML or YAML naming standards that Symfony
217+
enforces. See the Doctrine `DBAL documentation`_ for more information.
218+
The following block shows all possible configuration keys:
223219
224220
.. configuration-block::
225221
@@ -233,12 +229,15 @@ can configure. The following block shows all possible configuration keys:
233229
user: user
234230
password: secret
235231
driver: pdo_mysql
232+
# the DBAL driverClass option
236233
driver_class: MyNamespace\MyDriverImpl
234+
# the DBAL driverOptions option
237235
options:
238236
foo: bar
239237
path: "%kernel.data_dir%/data.sqlite"
240238
memory: true
241239
unix_socket: /tmp/mysql.sock
240+
# the DBAL wrapperClass option
242241
wrapper_class: MyDoctrineDbalConnectionWrapper
243242
charset: UTF8
244243
logging: "%kernel.debug%"

0 commit comments

Comments
 (0)