Back to the "Issues API" | Back to the navigation
Wraps GitHub Issue Milestones API.
$milestones = $client->api('issue')->milestones()->all('KnpLabs', 'php-github-api');
$milestone = $client->api('issue')->milestones()->show('KnpLabs', 'php-github-api', 123);
$milestone = $client->api('issue')->milestones()->create('KnpLabs', 'php-github-api', array('title' => '3.0'));
$milestone = $client->api('issue')->milestones()->update('KnpLabs', 'php-github-api', 123, array('title' => '3.0'));
$client->api('issue')->milestones()->remove('KnpLabs', 'php-github-api', 123);
$labels = $client->api('issue')->milestones()->labels('KnpLabs', 'php-github-api', 123);