Entity/ParamUsersRepository.php
public function getAdmin() {
		$oQB = $this->createQueryBuilder('U');
		$oQB->select(array('U.username', 'U.email'))
			->where($oQB->expr()->like('U.roles', $oQB->expr()->literal(serialize(array('ROLE_ADMIN')))));
	
		$oQuery = $oQB->getQuery();
		$oResult = $oQuery->getArrayResult();
	
		return $oResult;
	}
public function getAdmin() {
		$oQB = $this->createQueryBuilder('U');
		$oQB->select(array('U.username', 'U.email'))
			->where($oQB->expr()->like('U.roles', $oQB->expr()->literal(serialize(array('ROLE_ADMIN')))));
	
		$oQuery = $oQB->getQuery();
		$oResult = $oQuery->getArrayResult();
	
		return $oResult;
	}
Récupère la liste des Administrateurs du site
@return array