Markup
in package
implements
Countable, JsonSerializable, Stringable
Marks a content as safe.
Tags
Table of Contents
Interfaces
- Countable
- JsonSerializable
- Stringable
Properties
Methods
- __construct() : mixed
- __toString() : string
- count() : int
- getCharset() : string
- jsonSerialize() : mixed
Properties
$charset
private
string|null
$charset
$content
private
mixed
$content
Methods
__construct()
public
__construct(mixed $content, mixed $charset) : mixed
Parameters
- $content : mixed
- $charset : mixed
__toString()
public
__toString() : string
Return values
stringcount()
public
count() : int
Attributes
- #[ReturnTypeWillChange]
Return values
intgetCharset()
public
getCharset() : string
Return values
stringjsonSerialize()
public
jsonSerialize() : mixed
Attributes
- #[ReturnTypeWillChange]