Doctrine\Common\Persistence\AbstractManagerRegistry::getService PHP Method

getService() abstract protected method

A service in this context is connection or a manager instance.
abstract protected getService ( string $name ) : object
$name string The name of the service.
return object The instance of the given service.
    protected abstract function getService($name);