Documentation

JobWebhook
in package

JobWebhook information.

Table of Contents

Properties

$createdAt  : DateTime|null
$error  : ErrorResponse|null
$id  : string
$status  : string

Methods

__construct()  : mixed
parseDate()  : DateTime|null
Parse a date string into a DateTime object.

Properties

$createdAt

public DateTime|null $createdAt

Created at date.

$status

public string $status

Status of the webhook.

Methods

__construct()

public __construct(array<string|int, mixed> $serverResponse) : mixed
Parameters
$serverResponse : array<string|int, mixed>

Raw server response array.

parseDate()

Parse a date string into a DateTime object.

private parseDate(string|null $dateString) : DateTime|null
Parameters
$dateString : string|null

Date string to parse.

Return values
DateTime|null

        
On this page

Search results