public function ConnectionRegistry::getConnection in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ConnectionRegistry.php \Doctrine\Common\Persistence\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 vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ AbstractManagerRegistry.php - Gets the named connection.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ConnectionRegistry.php, line 47
Class
- ConnectionRegistry
- Contract covering connection for a Doctrine persistence layer ManagerRegistry class to implement.
Namespace
Doctrine\Common\PersistenceCode
public function getConnection($name = null);