Skip to content

[Doctrine] Slave/Master configuration options #7111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion reference/configuration/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Full Default Configuration
profiling: '%kernel.debug%'
driver_class: ~
wrapper_class: ~
keep_slave: false
options:
# an array of options
key: []
Expand Down Expand Up @@ -209,6 +210,7 @@ Full Default Configuration
logging="%kernel.debug%"
platform-service="MyOwnDatabasePlatformService"
server-version="5.6"
keep-slave="false"
>
<doctrine:option key="foo">bar</doctrine:option>
<doctrine:mapping-type name="enum">string</doctrine:mapping-type>
Expand Down Expand Up @@ -406,7 +408,6 @@ The following block shows all possible configuration keys:
types:
custom: Acme\HelloBundle\MyCustomType
# the DBAL keepSlave option
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the comment must be moved too

keep_slave: false

.. code-block:: xml

Expand Down