Documentation

Markup
in package
implements Countable, JsonSerializable, Stringable

Marks a content as safe.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Interfaces

Countable
JsonSerializable
Stringable

Properties

$charset  : string|null
$content  : mixed

Methods

__construct()  : mixed
__toString()  : string
count()  : int
getCharset()  : string
jsonSerialize()  : mixed

Properties

$charset

private string|null $charset

Methods

__construct()

public __construct(mixed $content, mixed $charset) : mixed
Parameters
$content : mixed
$charset : mixed

__toString()

public __toString() : string
Return values
string

count()

public count() : int
Attributes
#[ReturnTypeWillChange]
Return values
int

getCharset()

public getCharset() : string
Return values
string

jsonSerialize()

public jsonSerialize() : mixed
Attributes
#[ReturnTypeWillChange]

        
On this page

Search results