Token
implements
JsonSerializable
Interfaces, Classes and Traits
- JsonSerializable
Table of Contents
-
$data
: array<string|int, mixed>
-
$key
: string
-
__construct()
: mixed
-
__toString()
: mixed
-
getData()
: array<string|int, mixed>
-
getKey()
: string
-
jsonSerialize()
: mixed
$data
protected
array<string|int, mixed>
$data
$key
protected
string
$key
__construct()
public
__construct(string $key, array<string|int, mixed> $data) : mixed
Parameters
-
$key
: string
-
-
$data
: array<string|int, mixed>
-
Return values
mixed
—
__toString()
public
__toString() : mixed
Return values
mixed
—
getData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getKey()
public
getKey() : string
Return values
string
—
jsonSerialize()
public
jsonSerialize() : mixed
Return values
mixed
—