private function createQueryDebugger($query, array $parameters = array(), array $types = array())
    {
        if ($this->getConfiguration()->getDebug()) {
            return new QueryDebugger($query, $parameters, $types);
        }
    }
private function createQueryDebugger($query, array $parameters = array(), array $types = array())
    {
        if ($this->getConfiguration()->getDebug()) {
            return new QueryDebugger($query, $parameters, $types);
        }
    }
private function createQueryDebugger ( $ query , array $ parameters = array ( ) , array $ types = array ( ) ) { if ( $ this -> getConfiguration ( ) -> getDebug ( ) ) { return new QueryDebugger ( $ query , $ parameters , $ types ) ; } }
Creates a query debugger if the query needs to be debugged.

@param string $query      The query to debug.
@param array  $parameters The query parameters to debug.
@param array  $types      The query parameter types to debug.

@return \Fridge\DBAL\Debug\QueryDebugger|null The query debugger or null if the query does need to be debugged.
Creates a query debugger if the query needs to be debugged .