WebhookTypesRegistry
Registry contains all possible webhooks types which are available to the system To register a webhook your class must be tagged with the Webhook attribute.
not part of TYPO3's Core API
Table of Contents
Methods
- addWebhookType() : void
- getAvailableWebhookTypes() : array<string|int, WebhookType>
- getWebhookByEventIdentifier() : WebhookType|null
- getWebhookByType() : WebhookType
- hasWebhookType() : bool
- Whether a registered webhook type exists
Methods
addWebhookType()
public
addWebhookType(string $identifier, string $description, string $serviceName, string $factoryMethod, string|null $connectedEvent) : void
Parameters
- $identifier : string
- $description : string
- $serviceName : string
- $factoryMethod : string
- $connectedEvent : string|null
getAvailableWebhookTypes()
public
getAvailableWebhookTypes() : array<string|int, WebhookType>
Return values
array<string|int, WebhookType>getWebhookByEventIdentifier()
public
getWebhookByEventIdentifier(string $eventIdentifier) : WebhookType|null
Parameters
- $eventIdentifier : string
Return values
WebhookType|nullgetWebhookByType()
public
getWebhookByType(string $type) : WebhookType
Parameters
- $type : string
Return values
WebhookTypehasWebhookType()
Whether a registered webhook type exists
public
hasWebhookType(string $type) : bool
Parameters
- $type : string