phpDocumentor

DataObserverService
in package

Class DataObserverService

Tags
subpackage

GambioHub

Table of Contents

$apiClient  : DataObserverApiClient
__construct()  : mixed
DataObserverService constructor.
processDataChanges()  : DataObserverService
Runs through all registered data changes and delegates them to Hub.

Properties

Methods

processDataChanges()

Runs through all registered data changes and delegates them to Hub.

public processDataChanges(DataChangeCollection $dataChanges, HubSessionKey $sessionKey) : DataObserverService
Parameters
$dataChanges : DataChangeCollection

Data changes to be processed.

$sessionKey : HubSessionKey

Active Hub session key.

Tags
throws
HubSessionFailedException

If Hub session validation fails.

Return values
DataObserverService

Returns same instance for chained method calls.

Search results