Kdyby\Doctrine\Registry::getService PHP Method

getService() protected method

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