function ConnectionRegistry::getConnection

Gets the named connection.

Parameters

string $name The connection name (null for the default one):

Return value

object

1 method overrides ConnectionRegistry::getConnection()
AbstractManagerRegistry::getConnection in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php
Gets the named connection.

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);