Alpha ZealPHP is early-stage and under active development. APIs may change between minor versions until v1.0. Feedback and bug reports welcome on GitHub.
API Index — Namespaces, Packages, Reports, Indices

SafeHtml
in package
implements Stringable

FinalYes

A string of trusted markup. {@see Escape::html()} and {@see e()} emit it unchanged instead of escaping it. Create one with {@see Escape::raw()}.

Table of Contents

Interfaces

Stringable

Properties

$html  : string

Methods

__construct()  : mixed
__toString()  : string

Properties

Methods

__construct()

public __construct(string $html) : mixed
Parameters
$html : string

__toString()

public __toString() : string
Return values
string
On this page