Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'doctrine' => array(
- 'connection' => array(
- 'orm_default' => array(
- 'driverClass' =>'Doctrine\DBAL\Driver\PDOMySql\Driver',
- 'params' => array(
- 'host' => 'localhost',
- 'port' => '3306',
- 'user' => 'root',
- 'password' => 'A',
- 'dbname' => 'test_bogdan',
- )
- ),
- 'orm_alternative'=> array(
- 'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
- 'params' => array(
- 'host' => 'localhost',
- 'port' => '3306',
- 'user' => 'root',
- 'password' => 'A',
- 'dbname' => 'test_bogdan2',
- )
- ),
- )
- ),
- 'entitymanager' => array(
- 'orm_default' => array(
- 'connection' => 'orm_default',
- 'configuration' => 'orm_default'
- ),
- //This is the alternative config
- 'orm_alternative' => array(
- 'connection' => 'orm_alternative',
- 'configuration' => 'orm_alternative'
- )
- ),
Add Comment
Please, Sign In to add comment