Documentation

Identity
in package
implements ConsumerIdentity

Interfaces, Classes and Traits

ConsumerIdentity

Table of Contents

$id  : string
$payload  : array<string|int, mixed>
__construct()  : mixed
Identity constructor.
id()  : string
payload()  : array<string, mixed>

Properties

$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>
Return values
array<string, mixed>

Search results