1
0
mirror of synced 2024-12-14 15:16:04 +03:00

Merge pull request #103 from Dinduks/add_missing_section_in_configuration

Add a link to the connection configuration
This commit is contained in:
Guilherme Blanco 2012-06-18 10:07:47 -07:00
commit b4a9b1550c

View File

@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~