1
0
mirror of synced 2025-01-31 04:21:44 +03:00
doctrine2/manual/docs/Basic Components - Manager - Managing sessions.php
2006-08-21 22:55:11 +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.