Parallel Class¶
- class Parallel¶
Represents a parallel section
Implements
ItemInterface- addItem(ItemInterface ...$item)¶
Add items to the Parallel section
- Parameters:
...$item (
string ItemInterface) – The item(s)
- Returns:
A new instance of
Parallelwith the item(s) added- Return type:
- withComment(string $comment)¶
Set a comment for the Parallel
- Parameters:
$comment (
string) – The comment
- Returns:
A new instance of
Parallelwith the comment- Return type: