private function dumpBool(bool &$value, $name): void
  {
    if ($this->scalarReferences)
    {
      list($id, $ref) = $this->isReference($value);
    }
    else
    {
      $id  = null;
      $ref = null;
    }

    $this->writer->writeBool($id, $ref, $value, $name);
  }
private function dumpBool(bool &$value, $name): void
  {
    if ($this->scalarReferences)
    {
      list($id, $ref) = $this->isReference($value);
    }
    else
    {
      $id  = null;
      $ref = null;
    }

    $this->writer->writeBool($id, $ref, $value, $name);
  }
private function dumpBool ( bool & $ value , $ name ) : void { if ( $ this -> scalarReferences ) { list ( $ id , $ ref ) = $ this -> isReference ( $ value ) ; } else { $ id = null ; $ ref = null ; } $ this -> writer -> writeBool ( $ id , $ ref , $ value , $ name ) ; }
Dumps a boolean.

@param bool            $value The boolean.
@param string|int|null $name  The name of the variable.
Dumps a boolean .