Join Class

class Join

Represents a Join

Implements StateInterface

__construct(?string $id)

Create a Join

Parameters:
  • $id (?string) – The state id (default: auto-generate)

Returns:

An instance of Join

Return type:

Join

withComment(string $comment)

Add a comment

Parameters:
  • $comment (string) – The comment

Returns:

A new instance of Join with the comment

Return type:

Join