Gitlab\Model\Project::createMergeRequest PHP Method

createMergeRequest() public method

public createMergeRequest ( string $source, string $target, string $title, integer $assignee = null, string $description = null ) : Gitlab\Model\MergeRequest
$source string
$target string
$title string
$assignee integer
$description string
return Gitlab\Model\MergeRequest
    public function createMergeRequest($source, $target, $title, $assignee = null, $description = null)
    {
        $data = $this->api('mr')->create($this->id, $source, $target, $title, $assignee, null, $description);
        return MergeRequest::fromArray($this->getClient(), $this, $data);
    }