‪TYPO3CMS  ‪main
TYPO3\CMS\Webhooks\Message\WebhookMessageFactory Class Reference

Public Member Functions

 __construct (protected readonly WebhookTypesRegistry $typesRegistry)
 
 createMessageFromEvent (object $eventObject)
 

Detailed Description

A factory to create webhook messages from events.

Definition at line 25 of file WebhookMessageFactory.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Webhooks\Message\WebhookMessageFactory::__construct ( protected readonly WebhookTypesRegistry  $typesRegistry)

Definition at line 27 of file WebhookMessageFactory.php.

Member Function Documentation

◆ createMessageFromEvent()

TYPO3\CMS\Webhooks\Message\WebhookMessageFactory::createMessageFromEvent ( object  $eventObject)

Definition at line 31 of file WebhookMessageFactory.php.