Doctrine\ORM\EntityManager::getRepository
Gets the repository for an entity class.
Signature
public function getRepository(string
$entityName )
Parameters
$entityName
— string- The name of the entity.
Returns
- EntityRepository
- The repository class.