Quittio 0.3 API

FormattedValue
in package
implements JsonSerializable, Stringable

Read onlyYes
FinalYes

A value for templates: formatted for display and available in raw form.

Casting to string returns the formatted value, so {{ $value }} prints it.

Table of Contents

Interfaces

JsonSerializable
Stringable

Properties

$formatted  : string
$raw  : mixed

Methods

__construct()  : mixed
__toString()  : string
jsonSerialize()  : string

Properties

Methods

__construct()

public __construct(string $formatted[, mixed $raw = null ]) : mixed
Parameters
$formatted : string
$raw : mixed = null

jsonSerialize()

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

Search results