JGithubMilestones::create
Method to create a milestone for a repository.
Signature
public function create(string
$user,
[string
$repo = null,
[integer
$title = null,
[string
$state = null,
[string
$description = null,
[string
$due_on = null]]]]] )
Parameters
-
$user
- The name of the owner of the GitHub repository.
-
$repo
- The name of the GitHub repository.
-
$title
- The title of the milestone.
-
$state
- Can be open (default) or closed.
-
$description
- Optional description for milestone.
-
$due_on
- Optional ISO 8601 time.
Returns