OrderEncoder
implements
EncoderInterface, DecoderInterface
Interfaces, Classes and Traits
- EncoderInterface
- DecoderInterface
Table of Contents
-
FORMAT
= 'json'
-
decode()
: mixed
-
encode()
: mixed
-
supportsDecoding()
: bool
-
supportsEncoding()
: bool
public
mixed
FORMAT
= 'json'
decode()
public
decode(mixed $data, mixed $format[, array<string|int, mixed> $context = [] ]) : mixed
Parameters
-
$data
: mixed
-
-
$format
: mixed
-
-
$context
: array<string|int, mixed>
= []
-
Return values
mixed
—
encode()
public
encode(mixed $data, mixed $format[, array<string|int, mixed> $context = [] ]) : mixed
Parameters
-
$data
: mixed
-
-
$format
: mixed
-
-
$context
: array<string|int, mixed>
= []
-
Return values
mixed
—
supportsDecoding()
public
supportsDecoding(mixed $format) : bool
Parameters
-
$format
: mixed
-
Return values
bool
—
supportsEncoding()
public
supportsEncoding(mixed $format) : bool
Parameters
-
$format
: mixed
-
Return values
bool
—