Gets the ObjectRepository for an persistent object.
string $persistentObject The name of the persistent object.:
string $persistentManagerName The object manager name (null for the default one):
\Doctrine\Common\Persistence\ObjectRepository
Overrides ManagerRegistry::getRepository
public function getRepository($persistentObjectName, $persistentManagerName = null) {
return $this
->getManager($persistentManagerName)
->getRepository($persistentObjectName);
}