Changes
in package
WebHook data Handler class.
Tags
Table of Contents
Properties
- $changes : array<string|int, Change>
- Stored Changes.
- $globalVersion : int
- Reported number of last change.
- $next : int
- Next chunk ID.
Methods
- __construct() : mixed
- dataDiff() : mixed
- Result array contains different key with new|old values.
Properties
$changes
Stored Changes.
public
array<string|int, Change>
$changes
= []
$globalVersion
Reported number of last change.
public
int
$globalVersion
= null
$next
Next chunk ID.
public
int
$next
= null
Methods
__construct()
public
__construct(array<string|int, mixed> $changesData) : mixed
Parameters
- $changesData : array<string|int, mixed>
dataDiff()
Result array contains different key with new|old values.
public
static dataDiff(array<string|int, mixed> $data, array<string|int, mixed> $datb) : mixed
Parameters
- $data : array<string|int, mixed>
- $datb : array<string|int, mixed>