DataSetHistoryPlugin
extends AirlayPlugin
in package
Class AirlayPlugin.
Table of Contents
- $config : AirlayConfig
- $mongoDbManager : Manager
- $rabbitmq : AMQPStreamConnection
- update() : void
- getCollection() : FeaturesCollection|RelationsCollection
- loadObjectsInCache() : void
- saveHistory() : void
Properties
$config
public
AirlayConfig
$config
$mongoDbManager
public
Manager
$mongoDbManager
$rabbitmq
public
AMQPStreamConnection
$rabbitmq
Methods
update()
public
update(Event $event, mixed $source, array<string|int, mixed> $data) : void
Parameters
- $event : Event
- $source : mixed
- $data : array<string|int, mixed>
Return values
void —getCollection()
private
getCollection(DataSetEntity $dataSet) : FeaturesCollection|RelationsCollection
Parameters
- $dataSet : DataSetEntity
Return values
FeaturesCollection|RelationsCollection —loadObjectsInCache()
private
loadObjectsInCache(FeaturesCollection|RelationsCollection $collection, array<string|int, mixed> $objects) : void
Parameters
- $collection : FeaturesCollection|RelationsCollection
- $objects : array<string|int, mixed>
Return values
void —saveHistory()
private
saveHistory(DataSetEntity $dataSet, array<string|int, mixed> $customer, array<string|int, mixed> $changedObjects) : void
Parameters
- $dataSet : DataSetEntity
- $customer : array<string|int, mixed>
- $changedObjects : array<string|int, mixed>