public function modifyQuery(Query $query)
    {
        return $this->queryBuilder->startFrom($query)->useDebug(true)->getQuery();
    }
public function modifyQuery(Query $query)
    {
        return $this->queryBuilder->startFrom($query)->useDebug(true)->getQuery();
    }
public function modifyQuery ( Query $ query ) { return $ this -> queryBuilder -> startFrom ( $ query ) -> useDebug ( true ) -> getQuery ( ) ; }
Enables the query's debug mode to get more detailed information.

@param Query $query The query to modify
@return Query The modified query with enabled debugging mode
Enables the query s debug mode to get more detailed information .