private function debugQuery(QueryDebugger $queryDebugger = null)
    {
        if ($queryDebugger === null) {
            return;
        }

        $queryDebugger->stop();

        $this->getConfiguration()->getEventDispatcher()->dispatch(
            Events::QUERY_DEBUG,
            new QueryDebugEvent($queryDebugger)
        );
    }
private function debugQuery(QueryDebugger $queryDebugger = null)
    {
        if ($queryDebugger === null) {
            return;
        }

        $queryDebugger->stop();

        $this->getConfiguration()->getEventDispatcher()->dispatch(
            Events::QUERY_DEBUG,
            new QueryDebugEvent($queryDebugger)
        );
    }
private function debugQuery ( QueryDebugger $ queryDebugger = null ) { if ( $ queryDebugger === null ) { return ; } $ queryDebugger -> stop ( ) ; $ this -> getConfiguration ( ) -> getEventDispatcher ( ) -> dispatch ( Events :: QUERY_DEBUG , new QueryDebugEvent ( $ queryDebugger ) ) ; }
Debugs a query.

@param \Fridge\DBAL\Debug\QueryDebugger|null $queryDebugger The query debugger.
Debugs a query .