FileRemovedMessage implements WebhookMessageInterface
FinalYes
A message that is triggered when a file was deleted.
not part of TYPO3 Core API
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<string|int, mixed>
Methods
__construct()
public
__construct(int $storageUid, string $identifier, string|null $publicUrl) : mixed
Parameters
- $storageUid : int
- $identifier : string
- $publicUrl : string|null
createFromEvent()
public
static createFromEvent(BeforeFileDeletedEvent $event) : self
Parameters
- $event : BeforeFileDeletedEvent
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>