public function dump($name, &$value, bool $scalarReferences = false): void
  {
    $this->seen             = [];
    $this->scalarReferences = $scalarReferences;
    $this->gid              = uniqid((string)mt_rand(), true);

    $this->writer->start();

    $this->recursiveDump($value, $name);

    $this->writer->stop();
  }