CodeExplorer setUpSqlFormatter example
$result = DoctrineExtension::
escapeFunction($value);
++
$i;
return $result;
},
$query );
} public function prettifySql(string
$sql): string
{ $this->
setUpSqlFormatter();
return $this->sqlFormatter->
highlight($sql);
} public function formatSql(string
$sql, bool
$highlight): string
{ $this->
setUpSqlFormatter($highlight);
return $this->sqlFormatter->
format($sql);
}