public static function getDump($var, $maxSize = null)
  {
    
    // Trace
    $trace = debug_backtrace();

    // Initialise la sortie
    $dump = '';

    // Header
    $dump .= static::getHeader('Dump de variable');

    // Contexte
    $dump .= '<div class="dump_segment">Contexte</div>';
    if (count($trace) > 2) {
      $dump .= static::getContext($trace[1], $trace[2]);
    } else {
      $dump .= static::getContext($trace[1]);
    }

    // Requête SQL
    if (is_object($var) && get_class($var) == 'sylab\common\sgbd\Query') {
      $dump .= '<div class="dump_segment">Requête SQL</div>';
      $dump .= '<div class="dump_segment_content"><pre>' . $var->getSql() . '</pre></div>';
    }

    // Exploration
    $dump .= '<div class="dump_segment">Exploration de la variable</div>';
    $dump .= '<div class="dump_segment_content"><pre>';
    if (is_object($var) && get_class($var) == 'sylab\framework\query\Query') {
      $dump .= static::getDumpQueryResult($var->getQueryResults());
    } elseif (is_object($var) && get_class($var) == 'sylab\framework\query\QueryResult') {
      $dump .= static::getDumpQueryResult($var);
    } else {
      $dump .= static::getDumpContent($var, $maxSize);
    }
    $dump .= '</pre></div>';

    // Footer
    $dump .= static::getFooter();
    return $dump;
  }