SyncService uses PeriodAgentTrait
Table of Contents
Methods
- __construct() : mixed
- onMemberAdded() : void
- onMemberDeleted() : void
- onMemberUpdated() : void
- onRelationAdded() : void
- onRelationDeleted() : void
- syncMemberAgent() : string
- syncRelationAgent() : string
Methods
__construct()
public
__construct(EntityType $entityType[, NodeMemberService|null $memberService = null ][, NodeRelationService|null $nodeRelationService = null ][, NodeRelationRepository|null $relationRepository = null ]) : mixed
Parameters
- $entityType : EntityType
- $memberService : NodeMemberService|null = null
- $nodeRelationService : NodeRelationService|null = null
- $relationRepository : NodeRelationRepository|null = null
onMemberAdded()
public
static onMemberAdded(Event $event) : void
Parameters
- $event : Event
onMemberDeleted()
public
static onMemberDeleted(Event $event) : void
Parameters
- $event : Event
onMemberUpdated()
public
static onMemberUpdated(Event $event) : void
Parameters
- $event : Event
onRelationAdded()
public
static onRelationAdded(Event $event) : void
Parameters
- $event : Event
onRelationDeleted()
public
static onRelationDeleted(Event $event) : void
Parameters
- $event : Event
syncMemberAgent()
public
static syncMemberAgent() : string
Return values
stringsyncRelationAgent()
public
static syncRelationAgent() : string