26 throw new \InvalidArgumentException(
'A string value was expected');
32 public function write(\XMLWriter $writer, \DateTimeZone $timezone, $stringTag)
35 $writer->writeElement(
'string', $this->value);
37 $writer->text($this->value);
write(\XMLWriter $writer,\DateTimeZone $timezone, $stringTag)
The XML-RPC "string" type.
$value
Current value associated with this object.
A class representing an abstract XML-RPC type.