src/Model/DoctrineModel.php
protected function getRepository ($persistentObject = null) : EntityRepository
    {
        if (null === $persistentObject)
        {
            $persistentObject = $this->getFullEntityName();
        }

        return $this->doctrine->getRepository($persistentObject);
    }
protected function getRepository ($persistentObject = null) : EntityRepository
    {
        if (null === $persistentObject)
        {
            $persistentObject = $this->getFullEntityName();
        }

        return $this->doctrine->getRepository($persistentObject);
    }
protected function getRepository ( $ persistentObject = null ) : EntityRepository { if ( null === $ persistentObject ) { $ persistentObject = $ this -> getFullEntityName ( ) ; } return $ this -> doctrine -> getRepository ( $ persistentObject ) ; }
Returns the repository.

@param string|null $persistentObject you can specify which repository you want to load. Defaults to the
automatically derived one.

@return EntityRepository
Returns the repository .