Manager/AbstractManager.php
protected function getRepository(): AbstractRepository
    {
        return $this->getRepositoryFactory()->getRepositoryForEntity(
            AbstractRepository::getEntityNameFromClassName($this->getEntityClassName()),
            $this->connectionName
        );
    }
protected function getRepository(): AbstractRepository
    {
        return $this->getRepositoryFactory()->getRepositoryForEntity(
            AbstractRepository::getEntityNameFromClassName($this->getEntityClassName()),
            $this->connectionName
        );
    }
protected function getRepository ( ) : AbstractRepository { return $ this -> getRepositoryFactory ( ) -> getRepositoryForEntity ( AbstractRepository :: getEntityNameFromClassName ( $ this -> getEntityClassName ( ) ) , $ this -> connectionName ) ; }
Gets the repository corresponding to the managed entity

@return \Thuata\FrameworkBundle\Repository\AbstractRepository
Gets the repository corresponding to the managed entity