public function query(QueryInterface $query, $return = false)
    {
        DebuggerUtility::var_dump(
            $this->queryParser->parseQuery($query),
            null,
            8,
            false,
            true,
            $return
        );
    }
public function query(QueryInterface $query, $return = false)
    {
        DebuggerUtility::var_dump(
            $this->queryParser->parseQuery($query),
            null,
            8,
            false,
            true,
            $return
        );
    }
public function query ( QueryInterface $ query , $ return = false ) { DebuggerUtility :: var_dump ( $ this -> queryParser -> parseQuery ( $ query ) , null , 8 , false , true , $ return ) ; }
Dump a query.

@param  \TYPO3\CMS\Extbase\Persistence\QueryInterface  $query
@param  boolean  $return  Whether or not to return dumped query. Echos by default
@return  void
Dump a query .