31 $sonetLogId = (int)($this->event->getData()[
'SONET_LOG_ID'] ??
null);
32 $eventId = $this->
event->getData()[
'EVENT_ID'] ??
null;
33 $commentId = $this->
event->getData()[
'SONET_LOG_COMMENT_ID'] ??
null;
35 if ($sonetLogId <= 0 || $commentId <= 0 ||$this->doSkipEventProcessing($eventId))
40 switch ($this->event->getType())
42 case EventDictionary::EVENT_SPACE_LIVEFEED_COMMENT_ADD:
43 $this->onLiveFeedPostCommentAdd($sonetLogId, $commentId);
45 case EventDictionary::EVENT_SPACE_LIVEFEED_COMMENT_DEL:
46 $this->onLiveFeedPostCommentDelete($commentId);