Andd Class¶
- class Andd¶
Represents an and clause, a parallel group of statements in a
Parallelobject- __construct(string $action)¶
Create a new Andd group of statements
- Parameters:
$action (
?string) – The action that the statements perform
- Returns:
A new instance of
Andd- Return type:
- addItem(ItemInterface ...$interface)¶
Add item(s)
- Parameters:
...$interface (
ItemInterface) – The item(s)
- Returns:
A new instance of
Anddwith the item(s) added- Return type:
- withComment(string $comment)¶
Sets a comment for the And
- Parameters:
$comment (
string) – The comment
- Returns:
A new instance of
Anddwith the comment- Return type: