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>
createFromEvent()
public
static createFromEvent(RedirectWasHitEvent $event) : self
Parameters
- $event : RedirectWasHitEvent
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>