FileRemovedMessage

final class \TYPO3\CMS\Webhooks\Message\FileRemovedMessage

Implements
WebhookMessageInterface

A message that is triggered when a file was deleted.

Attributes

#[WebhookMessage]
$identifier: 'typo3/file-removed'
$description: 'LLL:EXT:webhooks/Resources/Private/Language/locallang_db.xlf:sys_webhook.webhook_type.typo3-file-removed'

Table of Contents

Interfaces

WebhookMessageInterface
A semantic interface for messages that can be put into a message bus in order to be serialized.

Methods

__construct()  : mixed
createFromEvent()  : self
jsonSerialize()  : array

Methods

__construct()

public __construct(int $storageUid, string $identifier, string|null $publicUrl) : mixed

Parameters

$storageUid : int
$identifier : string
$publicUrl : string|null

jsonSerialize()

public jsonSerialize() : array

Return values

array
On this page