Section Class¶
- class Section¶
Represents a Section in a User Journey diagram
- __construct(string $name)¶
Creates a new User Journey section
- Parameters:
$name (
string) – The section name
- Returns:
A new instance of
Section- Return type:
- addTask(Task ...$task)¶
Add task(s)
- withComment(string $comment)¶
Add a comment
- Parameters:
$comment (
string) – The comment
- Returns:
A new instance of
Sectionwith the comment- Return type: