class AssigneesClient

Class Assignees.

Methods

__construct(Curl $curl, string $api_url)

Assignees constructor.

mixed
list(string $repo_full_name)

List assignees.

bool
check(string $repo_full_name, string $assignees)

Check assignee.

void
add(string $repo_full_name, int $issue_number, array $assignees)

Add assignees to an issue.

void
remove(string $repo_full_name, int $issue_number, array $assignees)

Remove assignees from an issue.

Details

at line 30
__construct(Curl $curl, string $api_url)

Assignees constructor.

Parameters

Curl $curl
string $api_url

at line 44
mixed list(string $repo_full_name)

List assignees.

Parameters

string $repo_full_name

Return Value

mixed

Exceptions

Exception

at line 60
bool check(string $repo_full_name, string $assignees)

Check assignee.

204 404.

Parameters

string $repo_full_name
string $assignees

Return Value

bool

Exceptions

Exception

at line 80
void add(string $repo_full_name, int $issue_number, array $assignees)

Add assignees to an issue.

201

Parameters

string $repo_full_name
int $issue_number
array $assignees

Return Value

void

Exceptions

Exception

at line 100
void remove(string $repo_full_name, int $issue_number, array $assignees)

Remove assignees from an issue.

Parameters

string $repo_full_name
int $issue_number
array $assignees

Return Value

void

Exceptions

Exception