class EventsClient

Class Events.

Traits

Properties

protected $curl from CICommon
protected $api_url from CICommon

Methods

__construct(Curl $curl, string $api_url)

CICommon constructor.

from CICommon
mixed
listForIssue(string $repo_full_name, int $issue_number)

List events for an issue.

mixed
listForRepository(string $repo_full_name)

List events for a repository.

mixed
getSingleEvent(string $repo_full_name, int $event_id)

Get a single event.

Details

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

CICommon constructor.

Parameters

Curl $curl
string $api_url

at line 25
mixed listForIssue(string $repo_full_name, int $issue_number)

List events for an issue.

Parameters

string $repo_full_name
int $issue_number

Return Value

mixed

Exceptions

Exception

at line 37
mixed listForRepository(string $repo_full_name)

List events for a repository.

Parameters

string $repo_full_name

Return Value

mixed

Exceptions

Exception

at line 49
mixed getSingleEvent(string $repo_full_name, int $event_id)

Get a single event.

Parameters

string $repo_full_name
int $event_id

Return Value

mixed

Exceptions

Exception