code: public function getRepository($persistentObject, $persistentManagerName = null): ObjectRepository
      {
          return $this->getManager($persistentManagerName)->getRepository($persistentObject);
      }
docs: @param string $persistentObject
  @param null   $persistentManagerName
  
  @return EntityRepository|ObjectRepository