Documentation

Markup
in package

Statically hold all found markups (e.g. inline styles) in a single object instance to be memory-low instead of saving the markup string in each blocked result. At this way, we can generate unique IDs (md5) for each markup.

Table of Contents

Properties

$content  : mixed
$id  : mixed

Methods

__toString()  : mixed
`toString`. Allow grouping with e.g. `array_unique`.
getContent()  : mixed
Getter.
getId()  : mixed
Getter.
persist()  : mixed
Persist a markup in pool or return the existing one.
__construct()  : mixed
C'tor.

Properties

Methods

__toString()

`toString`. Allow grouping with e.g. `array_unique`.

public __toString() : mixed
Tags
codeCoverageIgnore

getContent()

Getter.

public getContent() : mixed

getId()

Getter.

public getId() : mixed

__construct()

C'tor.

private __construct(string $id, string $content) : mixed
Parameters
$id : string
$content : string

        
On this page

Search results