1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/manual/docs/Basic Components - Manager - Managing connections.php

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.