Doctrine\Common\Persistence\ConnectionRegistry
Contract covering connection for a Doctrine persistence layer ManagerRegistry class to implement.
- Author: Fabien Potencier <fabien@symfony.com>
- License: http://www.opensource.org/licenses/lgpl-license.php LGPL
Synopsis
interface ConnectionRegistry
{
- // methods
- public string getDefaultConnectionName()
- public getConnection()
- public array getConnections()
- public array getConnectionNames()
Hierarchy
Methods
public
- getConnection() — Gets the named connection.
- getConnectionNames() — Gets all connection names.
- getConnections() — Gets an array of all registered connections
- getDefaultConnectionName() — Gets the default connection name.