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.

Internal

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

getWebhookByEventIdentifier()

public getWebhookByEventIdentifier(string $eventIdentifier) : WebhookType|null
Parameters
$eventIdentifier : string
Return values
WebhookType|null

hasWebhookType()

Whether a registered webhook type exists

public hasWebhookType(string $type) : bool
Parameters
$type : string
Return values
bool

        
On this page

Search results