Symfony - Doctrine Query builder

Standard use:
select('u')
   ->from('User', 'u')
   ->where('u.id = ?1')
   ->orderBy('u.name', 'ASC');