Jalankan SQL mentah dengan manajer doktrin

   $em = $this->getDoctrine()->getManager();
   $stmt = $em->getConnection()->prepare($sql);
   $stmt->execute();
   return $stmt->fetchAll();
Difficult Dragonfly