PNMessageResult
in package
Table of Contents
Properties
- $channel : string
- $error : mixed
- $message : array<string|int, mixed>
- $publisher : string
- $subscription : string
- $timetoken : int
Methods
- __construct() : mixed
- PNMessageResult constructor.
- getChannel() : string
- getError() : mixed
- getMessage() : array<string|int, mixed>
- getPublisher() : string
- getSubscription() : string
- getTimetoken() : int
- isError() : bool
Properties
$channel
private
string
$channel
$error
private
mixed
$error
$message
private
array<string|int, mixed>
$message
$publisher
private
string
$publisher
$subscription
private
string
$subscription
$timetoken
private
int
$timetoken
Methods
__construct()
PNMessageResult constructor.
public
__construct(array<string|int, mixed> $message, string $channel, string $subscription, int $timetoken, string $publisher[, mixed $error = null ]) : mixed
Parameters
- $message : array<string|int, mixed>
- $channel : string
- $subscription : string
- $timetoken : int
- $publisher : string
- $error : mixed = null
getChannel()
public
getChannel() : string
Return values
stringgetError()
public
getError() : mixed
getMessage()
public
getMessage() : array<string|int, mixed>
Return values
array<string|int, mixed>getPublisher()
public
getPublisher() : string
Return values
stringgetSubscription()
public
getSubscription() : string
Return values
stringgetTimetoken()
public
getTimetoken() : int
Return values
intisError()
public
isError() : bool