public function AbstractManagerRegistry::getConnections in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php \Doctrine\Common\Persistence\AbstractManagerRegistry::getConnections()
Gets an array of all registered connections.
Return value
array An array of Connection instances.
Overrides ConnectionRegistry::getConnections
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ AbstractManagerRegistry.php, line 142
Class
- AbstractManagerRegistry
- Abstract implementation of the ManagerRegistry contract.
Namespace
Doctrine\Common\PersistenceCode
public function getConnections() {
$connections = array();
foreach ($this->connections as $name => $id) {
$connections[$name] = $this
->getService($id);
}
return $connections;
}