WebhookInstructionFactory

class \TYPO3\CMS\Webhooks\Factory\WebhookInstructionFactory

A factory to create webhook instructions from a database row.

Table of Contents

Methods

create()  : WebhookInstruction
createFromRow()  : WebhookInstruction

Methods

create()

public static create(string $url, string $secret[, string $method = 'POST' ][, bool $verifySSL = true ][, array $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 = []
$name : string|null = null
$description : string|null = null
$webhookType : WebhookType|null = null
$identifier : string|null = null
$uid : int|null = null

Return values

WebhookInstruction
On this page