m4t1t0
4/23/2014 - 6:38 AM

View DQL with Doctrine2

View DQL with Doctrine2

$query = $qb->getQuery();
$sql = $query->getSQL();
$parameters = $query->getParameters();
 
echo $sql;
var_dump($parameters);