original_string: public function getEntityRepository()
      {
          $repository = $this->entityManager->getRepository($this->getEntityName());
  
          if (!($repository instanceof EntityRepository)) {
              throw new InvalidEntityNameException($this->getEntityName(), $this->getEntityClass());
          }
  
          return $repository;
      }
code: public function getEntityRepository()
      {
          $repository = $this->entityManager->getRepository($this->getEntityName());
  
          if (!($repository instanceof EntityRepository)) {
              throw new InvalidEntityNameException($this->getEntityName(), $this->getEntityClass());
          }
  
          return $repository;
      }
code_tokens: public function getEntityRepository ( ) { $ repository = $ this -> entityManager -> getRepository ( $ this -> getEntityName ( ) ) ; if ( ! ( $ repository instanceof EntityRepository ) ) { throw new InvalidEntityNameException ( $ this -> getEntityName ( ) , $ this -> getEntityClass ( ) ) ; } return $ repository ; }
docstring: Gets the doctrine's entity repository for the entity
  
  @return \Doctrine\ORM\EntityRepository
docstring_tokens: Gets the doctrine s entity repository for the entity