abstract protected function AbstractManagerRegistry::getService in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php \Doctrine\Common\Persistence\AbstractManagerRegistry::getService()
Fetches/creates the given services.
A service in this context is connection or a manager instance.
Parameters
string $name The name of the service.:
Return value
object The instance of the given service.
5 calls to AbstractManagerRegistry::getService()
- AbstractManagerRegistry::getConnection in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ AbstractManagerRegistry.php - Gets the named connection.
- AbstractManagerRegistry::getConnections in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ AbstractManagerRegistry.php - Gets an array of all registered connections.
- AbstractManagerRegistry::getManager in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ AbstractManagerRegistry.php - AbstractManagerRegistry::getManagerForClass in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ AbstractManagerRegistry.php - Gets the object manager associated with a given class.
- AbstractManagerRegistry::getManagers in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ AbstractManagerRegistry.php - Gets an array of all registered object managers.
1 method overrides AbstractManagerRegistry::getService()
- TestManagerRegistry::getService in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ ManagerRegistryTest.php - Fetches/creates the given services.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ AbstractManagerRegistry.php, line 92
Class
- AbstractManagerRegistry
- Abstract implementation of the ManagerRegistry contract.
Namespace
Doctrine\Common\PersistenceCode
protected abstract function getService($name);