private function createQueryDebugger($query, array $parameters = array(), array $types = array())
    {
        if ($this->getConfiguration()->getDebug()) {
            return new QueryDebugger($query, $parameters, $types);
        }
    }