public function ManagerRegistry::getRepository in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ManagerRegistry.php \Doctrine\Common\Persistence\ManagerRegistry::getRepository()
Gets the ObjectRepository for an persistent object.
Parameters
string $persistentObject The name of the persistent object.:
string $persistentManagerName The object manager name (null for the default one).:
Return value
\Doctrine\Common\Persistence\ObjectRepository
1 method overrides ManagerRegistry::getRepository()
- AbstractManagerRegistry::getRepository in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ AbstractManagerRegistry.php - Gets the ObjectRepository for an persistent object.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ManagerRegistry.php, line 101
Class
- ManagerRegistry
- Contract covering object managers for a Doctrine persistence layer ManagerRegistry class to implement.
Namespace
Doctrine\Common\PersistenceCode
public function getRepository($persistentObject, $persistentManagerName = null);