FileUpdatedMessage implements WebhookMessageInterface
FinalYes
not part of TYPO3 Core API
Attributes
- #[WebhookMessage]
- $identifier: 'typo3/file-updated'
- $description: 'LLL:EXT:webhooks/Resources/Private/Language/locallang_db.xlf:sys_webhook.webhook_type.typo3-file-updated'
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() : FileUpdatedMessage
- jsonSerialize() : array<string|int, mixed>
Methods
__construct()
public
__construct(int $storageUid, string $identifier, string|null $publicUrl, array<string|int, mixed> $relevantProperties, array<string|int, mixed> $updatedFields) : mixed
Parameters
- $storageUid : int
- $identifier : string
- $publicUrl : string|null
- $relevantProperties : array<string|int, mixed>
- $updatedFields : array<string|int, mixed>
createFromEvent()
public
static createFromEvent(AfterFileUpdatedInIndexEvent $event) : FileUpdatedMessage
Parameters
- $event : AfterFileUpdatedInIndexEvent
Return values
FileUpdatedMessagejsonSerialize()
public
jsonSerialize() : array<string|int, mixed>