abstract protected function AbstractManagerRegistry::getService

Fetches/creates the given services

A service in this context is connection or a manager instance

Parameters

string $name name of the service:

Return value

object instance of the given service

5 calls to AbstractManagerRegistry::getService()
AbstractManagerRegistry::getConnection in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php
Gets the named connection.
AbstractManagerRegistry::getConnections in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php
Gets an array of all registered connections
AbstractManagerRegistry::getManager in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php
AbstractManagerRegistry::getManagerForClass in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php
Gets the object manager associated with a given class.
AbstractManagerRegistry::getManagers in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php
Gets an array of all registered object managers

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php, line 95

Class

AbstractManagerRegistry
Abstract implementation of the ManagerRegistry contract.

Namespace

Doctrine\Common\Persistence

Code

protected abstract function getService($name);