1
0
mirror of synced 2024-12-16 16:16:04 +03:00
doctrine2/manual/docs/Working with objects - Component overview - Manager - Managing connections.php
2007-02-23 20:54:10 +00:00

4 lines
289 B
PHP

Switching between connections in Doctrine is very easy, you just call Doctrine_Manager::setCurrentConnection() method.
You can access the connection by calling Doctrine_Manager::getConnection() or Doctrine_Manager::getCurrentConnection() if you only
want to get the current connection.