TagUnassignedEvent
extends Event
in package
implements
IWebhookCompatibleEvent
Event class for when a system tag is unassigned from an object
Tags
Table of Contents
Interfaces
- IWebhookCompatibleEvent
- Interface for events which can be listened to by webhooks
Properties
- $objectIds : array<int, string>
- $objectType : string
- $tags : array<int, int>
Methods
- __construct() : mixed
- constructor
- getObjectIds() : array<int, string>
- getObjectType() : string
- getTags() : array<int, int>
-
getWebhookSerializable()
: array{objectType: string, objectIds: list
, tagIds: list } - Return data to be serialized and sent to the webhook. Will be serialized using json_encode.
- isPropagationStopped() : bool
- {@inheritDoc}
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Properties
$objectIds
protected
array<int, string>
$objectIds
$objectType
protected
string
$objectType
$tags
protected
array<int, int>
$tags
Methods
__construct()
constructor
public
__construct(string $objectType, array<int, string> $objectIds, array<int, int> $tags) : mixed
Parameters
- $objectType : string
- $objectIds : array<int, string>
- $tags : array<int, int>
Tags
getObjectIds()
public
getObjectIds() : array<int, string>
Tags
Return values
array<int, string>getObjectType()
public
getObjectType() : string
Tags
Return values
stringgetTags()
public
getTags() : array<int, int>
Tags
Return values
array<int, int>getWebhookSerializable()
Return data to be serialized and sent to the webhook. Will be serialized using json_encode.
public
getWebhookSerializable() : array{objectType: string, objectIds: list, tagIds: list}
Tags
Return values
array{objectType: string, objectIds: listisPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Return values
boolstopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void