Note Class¶
- class Note¶
Represents a note
- __construct(string $content, Position $position, Participant ...$participant)¶
Create a new Note instance
- Parameters:
$content (
string) – The note content$position (
Position) – The note position relative to the participant...$participant (
Participant) –Participant(s). Provide two Participants to have the
Notespan both of themNote
Position must be
Position::overif there are two participants
- Returns:
A new
Noteinstance- Return type:
- exception InvalidArgumentException¶
Thrown is there are too many participants or $position is not
Position::overwhen there are two participants