Webhook
Webhook.php
:
14
Read-only
Final
Immutable value object representing a configured webhook.
Constants¶
NAME_MAX_LENGTH ¶
Webhook.php
:
19
Maximum length of a webhook name, in characters (bounded by the storage column length).
|
|
|
Properties¶
$consecutiveFailures
¶
Webhook.php
:
33
|
|
|
$createdAt
¶
Webhook.php
:
36
|
|
|
$disabledAt
¶
Webhook.php
:
35
|
|
|
$disabledReason
¶
Webhook.php
:
34
|
|
|
$enabled
¶
Webhook.php
:
29
|
|
|
$eventTypes
¶
Webhook.php
:
30
|
|
|
$filters
¶
Webhook.php
:
31
|
|
|
$id
¶
Webhook.php
:
25
|
|
|
$modifiedAt
¶
Webhook.php
:
37
|
|
|
$name
¶
Webhook.php
:
26
|
|
|
$ownerId
¶
Webhook.php
:
32
|
|
|
$secret
¶
Webhook.php
:
28
|
|
|
$url
¶
Webhook.php
:
27
|
|
|
Methods¶
__construct()
¶
Webhook.php
:
24
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $id | int | - | - |
| $name | string | - | - |
| $url | string | - | - |
| $secret | string | - | - |
| $enabled | bool | - | - |
| $eventTypes | array<int, string> | - | - |
| $filters | WebhookFilters | - | - |
| $ownerId | int | - | - |
| $consecutiveFailures | int | - | - |
| $disabledReason | string|null | - | - |
| $disabledAt | DateTimeImmutable|null | null | - |
| $createdAt | DateTimeImmutable|null | null | - |
| $modifiedAt | DateTimeImmutable|null | null | - |