XMLWriter::setIndent

Toggles indentation on or off

public function setIndent(
  bool $indent,
): bool;

Parameters

  • bool $indent - Whether indentation is enabled.

Returns

  • bool - - Returns TRUE on success or FALSE on failure.