Identity
in package
implements
ConsumerIdentity
Interfaces, Classes and Traits
Table of Contents
- $id : string
- $payload : array<string|int, mixed>
- __construct() : mixed
- Identity constructor.
- id() : string
- payload() : array<string, mixed>
Properties
$id
private
string
$id
$payload
private
array<string|int, mixed>
$payload
Methods
__construct()
Identity constructor.
public
__construct(string $id[, array<string, mixed> $payload = [] ]) : mixed
Parameters
- $id : string
- $payload : array<string, mixed> = []
Return values
mixed —id()
public
id() : string
Return values
string —payload()
public
payload() : array<string, mixed>