class WebhooksClient extends WebhooksClient

Methods

__construct(Curl $curl, string $api_url)

No description

mixed
getWebhooks(bool $raw, string $username, string $repo)

No description

int
getStatus(string $url, string $username, string $repo)

No description

mixed
setWebhooks($data, string $username, string $repo, string|null $id)

No description

mixed
unsetWebhooks(string $username, string $repo, string $id)

No description

Details

in WebhooksClient at line 19
__construct(Curl $curl, string $api_url)

Parameters

Curl $curl
string $api_url

in WebhooksClient at line 31
mixed getWebhooks(bool $raw, string $username, string $repo)

Parameters

bool $raw
string $username
string $repo

Return Value

mixed

Exceptions

Exception

in WebhooksClient at line 55
int getStatus(string $url, string $username, string $repo)

Parameters

string $url
string $username
string $repo

Return Value

int

Exceptions

Exception

in WebhooksClient at line 86
mixed setWebhooks($data, string $username, string $repo, string|null $id)

Parameters

$data
string $username
string $repo
string|null $id

Return Value

mixed

Exceptions

Exception

in WebhooksClient at line 114
mixed unsetWebhooks(string $username, string $repo, string $id)

Parameters

string $username
string $repo
string $id

Return Value

mixed

Exceptions

Exception