XMLWriter::setIndentString

Sets the string which will be used to indent each element/attribute of the resulting xml

public function setIndentString(
  string $indentstring,
): bool;

Parameters

  • string $indentstring - The indentation string.

Returns

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