XMLWriter::writeComment

Writes a full comment

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

Parameters

  • string $content - The contents of the comment.

Returns

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