WebhookRepository

Accessing webhook records from the database

Internal

This class is not part of TYPO3's Core API.

Table of Contents

Properties

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

Methods

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

Properties

$applyDefaultRestrictions

protected bool $applyDefaultRestrictions = false

$cacheIdentifierPrefix

protected string $cacheIdentifierPrefix = 'webhooks_'

Methods

countAll()

public countAll() : int
Return values
int

getWebhookRecords()

public getWebhookRecords([WebhookDemand|null $demand = null ]) : array<string|int, mixed>
Parameters
$demand : WebhookDemand|null = null
Return values
array<string|int, mixed>

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<string|int, mixed> $rows) : array<string|int, mixed>
Parameters
$rows : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results