JGithubMilestones::getList
Method to get the list of milestones for a repo.
Signature
public function getList(string
$user,
[string
$repo = 'open',
[string
$state = 'open',
[string
$sort = 'due_date',
[string
$direction = 'desc',
[integer
$page = 0,
[integer
$limit = 0]]]]]] )
Parameters
-
$user
- The name of the owner of the GitHub repository.
-
$repo
- The name of the GitHub repository.
-
$state
- The milestone state to retrieved. Open (default) or closed.
-
$sort
- Sort can be due_date (default) or completeness.
-
$direction
- Direction is asc or desc (default).
-
$page
- The page number from which to get items.
-
$limit
- The number of items on a page.
Returns
- array