RedirectWasHitMessage implements WebhookMessageInterface

FinalYes
Attributes
#[WebhookMessage]
$identifier: 'typo3/redirect-was-hit'
$description: 'LLL:EXT:redirects/Resources/Private/Language/locallang_db.xlf:sys_redirect.webhook_type.typo3-redirect-was-hit'

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(UriInterface $sourceUrl, UriInterface $targetUrl, int $statusCode, array<string|int, mixed> $matchedRedirect) : mixed
Parameters
$sourceUrl : UriInterface
$targetUrl : UriInterface
$statusCode : int
$matchedRedirect : array<string|int, mixed>

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results