class EventsClient

Traits

Properties

protected $curl from CICommon
protected $api_url from CICommon

Methods

__construct(Curl $curl, string $api_url)

CICommon constructor.

from CICommon
mixed
public()

List public events.

mixed
repository(string $repo_full_name)

List repository events.

mixed
issue(string $repo_full_name)

List issue events for a repository.

mixed
network(string $repo_full_name)

List public events for a network of repositories.

mixed
publicOrganization($org_name)

List public events for an organization.

mixed
organization(string $username, string $org_name)

List events for an organization.

mixed
userReceived(string $username)

List events that a user has received.

mixed
publicUserReceived(string $username)

List public events that a user has received.

mixed
performedByUser(string $username)

List events performed by a user.

mixed
publicPerformedByUser(string $username)

List public events performed by a user.

Details

in CICommon at line 18
__construct(Curl $curl, string $api_url)

CICommon constructor.

Parameters

Curl $curl
string $api_url

at line 20
mixed public()

List public events.

Return Value

mixed

Exceptions

Exception

at line 32
mixed repository(string $repo_full_name)

List repository events.

Parameters

string $repo_full_name

Return Value

mixed

Exceptions

Exception

at line 44
mixed issue(string $repo_full_name)

List issue events for a repository.

Parameters

string $repo_full_name

Return Value

mixed

Exceptions

Exception

at line 56
mixed network(string $repo_full_name)

List public events for a network of repositories.

Parameters

string $repo_full_name

Return Value

mixed

Exceptions

Exception

at line 70
mixed publicOrganization($org_name)

List public events for an organization.

Parameters

$org_name

Return Value

mixed

Exceptions

Exception

at line 82
mixed organization(string $username, string $org_name)

List events for an organization.

Parameters

string $username
string $org_name

Return Value

mixed

Exceptions

Exception

at line 94
mixed userReceived(string $username)

List events that a user has received.

Parameters

string $username

Return Value

mixed

Exceptions

Exception

at line 106
mixed publicUserReceived(string $username)

List public events that a user has received.

Parameters

string $username

Return Value

mixed

Exceptions

Exception

at line 118
mixed performedByUser(string $username)

List events performed by a user.

Parameters

string $username

Return Value

mixed

Exceptions

Exception

at line 130
mixed publicPerformedByUser(string $username)

List public events performed by a user.

Parameters

string $username

Return Value

mixed

Exceptions

Exception