class Installation

Methods

static void
handle($json_content)

created 用户点击安装按钮.

static void
create(array $repo, int $sender_uid)

用户首次安装了 GitHub App.

static void
delete(int $installation_id, string $username)

用户卸载了 GitHub App.

static void
repositories($json_content)

用户对仓库的操作.

Details

at line 21
static void handle($json_content)

created 用户点击安装按钮.

deleted 用户卸载了 GitHub Apps

Parameters

$json_content

Return Value

void

Exceptions

Exception

at line 55
static void create(array $repo, int $sender_uid)

用户首次安装了 GitHub App.

Parameters

array $repo
int $sender_uid

Return Value

void

Exceptions

Exception

at line 72
static void delete(int $installation_id, string $username)

用户卸载了 GitHub App.

Parameters

int $installation_id
string $username

Return Value

void

Exceptions

Exception

at line 89
static void repositories($json_content)

用户对仓库的操作.

added 用户增加仓库

removed 移除仓库

Parameters

$json_content

Return Value

void

Exceptions

Exception