Documentation

Changes
in package

WebHook data Handler class

Tags
see
https://podpora.flexibee.eu/cs/articles/4744362-changes-api
author

vitex

Table of Contents

$changes  : array<string|int, Change>
Stored Changes
$globalVersion  : int
Reported number of last change
$next  : int
Next chunk ID
__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>
Return values
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>
Return values
mixed

Search results