XmlCData
in package
implements
JsonSerializable
XmlCData
This class represents a representation for a CDATA element.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $value : string
- The value of the CDATA element.
Methods
- __construct() : mixed
- Constructor.
- jsonSerialize() : object
- Returns the data as a simple object for JSON serialization.
Properties
$value
The value of the CDATA element.
public
string
$value
Methods
__construct()
Constructor.
public
__construct([string|null $value = null ]) : mixed
Parameters
- $value : string|null = null
-
The value of the CDATA element.
jsonSerialize()
Returns the data as a simple object for JSON serialization.
public
jsonSerialize() : object
Return values
object —The object representation of the CDATA element.