Back to the "Issues API" | Back to the navigation
Wraps GitHub Issue Assignees API.
$assignees = $client->api('issue')->assignees()->listAvailable('KnpLabs', 'php-github-api');
$info = $client->api('issue')->assignees()->check('KnpLabs', 'php-github-api', 'test-user');
$client->api('issue')->assignees()->add('KnpLabs', 'php-github-api', 4, ['assignees' => ['test-user']]);
$client->api('issue')->assignees()->remove('KnpLabs', 'php-github-api', 4, ['assignees' => ['test-user']]);