public function ObjectManager::getRepository in Plug 7
Gets the repository for a class.
Parameters
string $className:
Return value
\Doctrine\Common\Persistence\ObjectRepository
1 method overrides ObjectManager::getRepository()
- ObjectManagerDecorator::getRepository in lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManagerDecorator.php - Gets the repository for a class.
File
- lib/
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);