1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/manual/docs/Basic Components - Manager - Managing connections.php

4 lines
289 B
PHP
Raw Normal View History

2006-08-22 02:55:11 +04:00
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.