public function getUserById($id) {
		$oQB = $this->createQueryBuilder('U');
		$oQB->select()
			->where($oQB->expr()->eq('U.id', ':id'))
			->setParameter(':id', $id);
		
		$aResult = $oQB->getQuery()->getOneOrNullResult();
		
		return $aResult;
	}
public function getUserById($id) {
		$oQB = $this->createQueryBuilder('U');
		$oQB->select()
			->where($oQB->expr()->eq('U.id', ':id'))
			->setParameter(':id', $id);
		
		$aResult = $oQB->getQuery()->getOneOrNullResult();
		
		return $aResult;
	}
public function getUserById ( $ id ) { $ oQB = $ this -> createQueryBuilder ( 'U' ) ; $ oQB -> select ( ) -> where ( $ oQB -> expr ( ) -> eq ( 'U.id' , ':id' ) ) -> setParameter ( ':id' , $ id ) ; $ aResult = $ oQB -> getQuery ( ) -> getOneOrNullResult ( ) ; return $ aResult ; }
Retourne les informations d'un utilisateur en fonction de son id

@param int $id
@return array
Retourne les informations d un utilisateur en fonction de son id