WebhookCompilerPass

final class \TYPO3\CMS\Webhooks\DependencyInjection\WebhookCompilerPass

Implements
CompilerPassInterface

A compiler pass to wire Messages which can be used as "webhook" into the webhook registry when needed.

Also, if the Message has an Event name as identifier, we automatically register the MessageListener to the ListenerProvider as well, and the MessageFactory can then automatically create the message for us.

What does this mean? If your Message class has one object within the __construct() method, we assume this is an Event class, and we connect to it.

Table of Contents

Interfaces

CompilerPassInterface

Methods

__construct()  : mixed
process()  : void

Methods

__construct()

public __construct(string $tagName) : mixed

Parameters

$tagName : string

process()

public process(ContainerBuilder $container) : void

Parameters

$container : ContainerBuilder
On this page