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
function getRepository($persistentObject, $persistentManagerName = null);