public function ManagerRegistry::getManagerForClass in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ManagerRegistry.php \Doctrine\Common\Persistence\ManagerRegistry::getManagerForClass()
Gets the object manager associated with a given class.
Parameters
string $class A persistent object class name.:
Return value
\Doctrine\Common\Persistence\ObjectManager|null
1 method overrides ManagerRegistry::getManagerForClass()
- AbstractManagerRegistry::getManagerForClass in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ AbstractManagerRegistry.php - Gets the object manager associated with a given class.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ManagerRegistry.php, line 110
Class
- ManagerRegistry
- Contract covering object managers for a Doctrine persistence layer ManagerRegistry class to implement.
Namespace
Doctrine\Common\PersistenceCode
public function getManagerForClass($class);