XMLWriter::text

Writes a text

public function text(
  string $content,
): bool;

Parameters

  • string $content - The contents of the text.

Returns

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