WebhookRepository

class \TYPO3\CMS\Webhooks\Repository\WebhookRepository

Accessing webhook records from the database

Table of Contents

Properties

$applyDefaultRestrictions  : bool
$cacheIdentifierPrefix  : string
$connectionPool  : ConnectionPool
$runtimeCache  : FrontendInterface

Methods

__construct()  : mixed
countAll()  : int
findAll()  : WebhookInstruction[]
findByDemand()  : WebhookInstruction[]
getConfiguredWebhooksByType()  : array<string, WebhookInstruction>
getWebhookRecords()  : array
setApplyDefaultRestrictions()  : self
getConfiguredWebhooks()  : array<string, WebhookInstruction>
getQueryBuilder()  : QueryBuilder
getQueryBuilderForDemand()  : QueryBuilder
map()  : array
mapSingleRow()  : WebhookInstruction

Properties

$applyDefaultRestrictions

protected bool $applyDefaultRestrictions = false

$cacheIdentifierPrefix

protected string $cacheIdentifierPrefix = 'webhooks_'

Methods

setApplyDefaultRestrictions()

public setApplyDefaultRestrictions(bool $applyDefaultRestrictions) : self

Parameters

$applyDefaultRestrictions : bool

Return values

self

getQueryBuilder()

protected getQueryBuilder([bool $addDefaultOrderByClause = true ]) : QueryBuilder

Parameters

$addDefaultOrderByClause : bool = true

Return values

QueryBuilder

map()

protected map(array $rows) : array

Parameters

$rows : array

Return values

array
On this page