SubscribeEnvelope
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- PNSubscribeResult constructor.
- fromJson() : SubscribeEnvelope
- getMessages() : array<string|int, SubscribeMessage>
- getMetadata() : SubscribeMetadata
- isEmpty() : bool
Properties
$messages
protected
SubscribeMessage
$messages
$metadata
protected
SubscribeMetadata
$metadata
Methods
__construct()
PNSubscribeResult constructor.
public
__construct(array<string|int, SubscribeMessage> $messages, SubscribeMetadata $metadata) : mixed
Parameters
- $messages : array<string|int, SubscribeMessage>
- $metadata : SubscribeMetadata
fromJson()
public
static fromJson(mixed $json) : SubscribeEnvelope
Parameters
- $json : mixed
Return values
SubscribeEnvelopegetMessages()
public
getMessages() : array<string|int, SubscribeMessage>
Return values
array<string|int, SubscribeMessage>getMetadata()
public
getMetadata() : SubscribeMetadata
Return values
SubscribeMetadataisEmpty()
public
isEmpty() : bool