Flow PHP

Json implements JsonSerializable, Stringable

Read onlyYes
FinalYes

Interfaces

JsonSerializable
Stringable

Methods

__construct()  : mixed
__toString()  : string
fromArray()  : self
fromString()  : self
isEqual()  : bool
isObject()  : bool
isValid()  : bool
jsonSerialize()  : array<string|int, mixed>
toArray()  : array<string|int, mixed>
toString()  : string

Methods

__construct()

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

__toString()

public __toString() : string
Return values
string

fromArray()

public static fromArray(array<string|int, mixed> $value[, bool $asObject = false ]) : self
Parameters
$value : array<string|int, mixed>
$asObject : bool = false
Return values
self

fromString()

public static fromString(string $value) : self
Parameters
$value : string
Return values
self

isEqual()

public isEqual(self $json) : bool
Parameters
$json : self
Return values
bool

isObject()

public isObject() : bool
Return values
bool

isValid()

public static isValid(string $value) : bool
Parameters
$value : string
Return values
bool

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

toString()

public toString() : string
Return values
string

        
On this page

Search results