Merge pull request #103 from Dinduks/add_missing_section_in_configuration
Add a link to the connection configuration
This commit is contained in:
commit
b4a9b1550c
@ -120,6 +120,7 @@ setup methods:
|
|||||||
$paths = array("/path/to/entities-or-mapping-files");
|
$paths = array("/path/to/entities-or-mapping-files");
|
||||||
$isDevMode = false;
|
$isDevMode = false;
|
||||||
|
|
||||||
|
// the connection configuration
|
||||||
$dbParams = array(
|
$dbParams = array(
|
||||||
'driver' => 'pdo_mysql',
|
'driver' => 'pdo_mysql',
|
||||||
'user' => 'root',
|
'user' => 'root',
|
||||||
@ -141,6 +142,11 @@ These setup commands make several assumptions:
|
|||||||
- If `$devMode` is false, set ``setAutoGenerateProxyClasses(false)``
|
- If `$devMode` is false, set ``setAutoGenerateProxyClasses(false)``
|
||||||
- If third argument `$proxyDir` is not set, use the systems temporary directory.
|
- If third argument `$proxyDir` is not set, use the systems temporary directory.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
You can learn more about the connection configuration in the
|
||||||
|
`Doctrine DBAL connection configuration reference <http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html>`_.
|
||||||
|
|
||||||
Full Configuration Example
|
Full Configuration Example
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user