src/Repository/Doctrine/ORMRepository.php
public function getRepository()
    {
        if ($this->repository === null) {
            $this->repository = $this->entityManager->getRepository($this->entityName);
        }

        return $this->repository;
    }
public function getRepository()
    {
        if ($this->repository === null) {
            $this->repository = $this->entityManager->getRepository($this->entityName);
        }

        return $this->repository;
    }
public function getRepository ( ) { if ( $ this -> repository === null ) { $ this -> repository = $ this -> entityManager -> getRepository ( $ this -> entityName ) ; } return $ this -> repository ; }
Returns the doctrine repository.

@return ObjectRepository
Returns the doctrine repository .