Merge Class

class Merge

Represents a Merge

__construct(Branch $branch)

Creates a new Merge

Parameters:
  • $branch (Branch) – The branch to merge.

Returns:

A new instance of Merge

Return type:

Merge

withComment(string $comment)

Add a comment

Parameters:
  • $comment (string) – The comment

Returns:

A new instance of Merge with the comment

Return type:

Merge