RedirectWasHitMessage

final class \TYPO3\CMS\Redirects\Message\RedirectWasHitMessage

Implements
WebhookMessageInterface

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

Methods

__construct()

public __construct(UriInterface $sourceUrl, UriInterface $targetUrl, int $statusCode, array $matchedRedirect) : mixed

Parameters

$sourceUrl : UriInterface
$targetUrl : UriInterface
$statusCode : int
$matchedRedirect : array

jsonSerialize()

public jsonSerialize() : array

Return values

array
On this page