PNMembershipsResultItem
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- PNMembershipsResultItem constructor.
- __toString() : mixed
- fromPayload() : PNMembershipsResultItem
- getChannel() : PNMembership
- getCustom() : array<string|int, mixed>
- getETag() : array<string|int, mixed>
- getUpdated() : string
Properties
$channel
protected
PnMembership
$channel
$custom
protected
array<string|int, mixed>
$custom
$eTag
protected
string
$eTag
$updated
protected
string
$updated
Methods
__construct()
PNMembershipsResultItem constructor.
public
__construct(PnMembership $channel, object $custom, string $updated, string $eTag) : mixed
Parameters
- $channel : PnMembership
- $custom : object
- $updated : string
- $eTag : string
__toString()
public
__toString() : mixed
fromPayload()
public
static fromPayload(array<string|int, mixed> $payload) : PNMembershipsResultItem
Parameters
- $payload : array<string|int, mixed>
Return values
PNMembershipsResultItemgetChannel()
public
getChannel() : PNMembership
Return values
PNMembershipgetCustom()
public
getCustom() : array<string|int, mixed>
Return values
array<string|int, mixed>getETag()
public
getETag() : array<string|int, mixed>
Return values
array<string|int, mixed>getUpdated()
public
getUpdated() : string