Gets the named connection.
Parameters
string $name The connection name (null for the default one):
Return value
object
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/ConnectionRegistry.php, line 48
Class
- ConnectionRegistry
- Contract covering connection for a Doctrine persistence layer ManagerRegistry class to implement.
Namespace
Doctrine\Common\Persistence
Code
function getConnection($name = null);