public function ObjectManager::getRepository in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManager.php \Doctrine\Common\Persistence\ObjectManager::getRepository()
Gets the repository for a class.
Parameters
string $className:
Return value
\Doctrine\Common\Persistence\ObjectRepository
1 method overrides ObjectManager::getRepository()
- ObjectManagerDecorator::getRepository in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManagerDecorator.php - Gets the repository for a class.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManager.php, line 129
Class
- ObjectManager
- Contract for a Doctrine persistence layer ObjectManager class to implement.
Namespace
Doctrine\Common\PersistenceCode
public function getRepository($className);