PNHistoryResult
in package
Class PNHistoryResult
Table of Contents
Properties
- $endTimetoken : int
- $messages : array<string|int, PNHistoryItemResult>
- $startTimetoken : int
Methods
- __construct() : mixed
- PNHistoryResult constructor.
- __toString() : mixed
- fromJson() : PNHistoryResult
- getEndTimetoken() : int
- getMessages() : array<string|int, PNHistoryItemResult>
- getStartTimetoken() : int
Properties
$endTimetoken
private
int
$endTimetoken
$messages
private
array<string|int, PNHistoryItemResult>
$messages
$startTimetoken
private
int
$startTimetoken
Methods
__construct()
PNHistoryResult constructor.
public
__construct(array<string|int, PNHistoryItemResult> $messages, int $startTimetoken, int $endTimetoken) : mixed
Parameters
- $messages : array<string|int, PNHistoryItemResult>
- $startTimetoken : int
- $endTimetoken : int
__toString()
public
__toString() : mixed
fromJson()
public
static fromJson(mixed $jsonInput, mixed $crypto[, bool $includeTTOption = false ][, null $cipher = null ]) : PNHistoryResult
Parameters
- $jsonInput : mixed
- $crypto : mixed
- $includeTTOption : bool = false
- $cipher : null = null
Return values
PNHistoryResultgetEndTimetoken()
public
getEndTimetoken() : int
Return values
intgetMessages()
public
getMessages() : array<string|int, PNHistoryItemResult>
Return values
array<string|int, PNHistoryItemResult>getStartTimetoken()
public
getStartTimetoken() : int