Doctrine\Common\Persistence\ConnectionRegistry::getConnection
Gets the named connection.
Signature
public function getConnection([string
$name = null] )
Parameters
$name
— string- The connection name (null for the default one)