Skip to content

Commit 16f5c76

Browse files
committed
minor #7111 [Doctrine] Slave/Master configuration options (Simperfit)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #7111). Discussion ---------- [Doctrine] Slave/Master configuration options Like settled in the [Configuration Class](https://github.com/doctrine/DoctrineBundle/blob/master/DependencyInjection/Configuration.php#L149) options keep_slave should be a children of connections edit : preview : http://pr-7111-scvfh6y-6qmocelev2lwe.eu.platform.sh/reference/configuration/doctrine.html Commits ------- 2a38145 [Doctrine] Slave/Master configuration options
2 parents 154bc6c + 2a38145 commit 16f5c76

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

reference/configuration/doctrine.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ Full Default Configuration
6868
profiling: '%kernel.debug%'
6969
driver_class: ~
7070
wrapper_class: ~
71+
# the DBAL keepSlave option
72+
keep_slave: false
7173
options:
7274
# an array of options
7375
key: []
@@ -209,6 +211,7 @@ Full Default Configuration
209211
logging="%kernel.debug%"
210212
platform-service="MyOwnDatabasePlatformService"
211213
server-version="5.6"
214+
keep-slave="false"
212215
>
213216
<doctrine:option key="foo">bar</doctrine:option>
214217
<doctrine:mapping-type name="enum">string</doctrine:mapping-type>
@@ -405,8 +408,6 @@ The following block shows all possible configuration keys:
405408
enum: string
406409
types:
407410
custom: Acme\HelloBundle\MyCustomType
408-
# the DBAL keepSlave option
409-
keep_slave: false
410411
411412
.. code-block:: xml
412413

0 commit comments

Comments
 (0)