Documentation

Markup
in package
implements Countable, JsonSerializable

Marks a content as safe.

Tags
author

Fabien Potencier fabien@symfony.com

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

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.

Search results