Markup
in package
implements
Countable, JsonSerializable
Marks a content as safe.
Tags
Interfaces, Classes and Traits
- Countable
- JsonSerializable
Table of Contents
- $charset : mixed
- $content : mixed
- __construct() : mixed
- __toString() : mixed
- count() : mixed
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON.
Properties
$charset
private
mixed
$charset
$content
private
mixed
$content
Methods
__construct()
public
__construct(mixed $content, mixed $charset) : mixed
Parameters
- $content : mixed
- $charset : mixed
Return values
mixed —__toString()
public
__toString() : mixed
Return values
mixed —count()
public
count() : mixed
Return values
mixed —jsonSerialize()
Specify data which should be serialized to JSON.
public
jsonSerialize() : mixed
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.