WebhookInstructionFactory
A factory to create webhook instructions from a database row.
not part of TYPO3's Core API
Table of Contents
Methods
Methods
create()
public
static create(string $url, string $secret[, string $method = 'POST' ][, bool $verifySSL = true ][, array<string|int, mixed> $additionalHeaders = [] ][, string|null $name = null ][, string|null $description = null ][, WebhookType|null $webhookType = null ][, string|null $identifier = null ][, int|null $uid = null ]) : WebhookInstruction
Parameters
- $url : string
- $secret : string
- $method : string = 'POST'
- $verifySSL : bool = true
- $additionalHeaders : array<string|int, mixed> = []
- $name : string|null = null
- $description : string|null = null
- $webhookType : WebhookType|null = null
- $identifier : string|null = null
- $uid : int|null = null
Return values
WebhookInstructioncreateFromRow()
public
static createFromRow(array<string|int, mixed> $row) : WebhookInstruction
Parameters
- $row : array<string|int, mixed>