Breakk Class¶
- class Breakk¶
Represents a break Block
- __construct(string $condition)¶
Create a new Breakk group of statements
- Parameters:
$condition (
?string) – The condition
- Returns:
A new instance of
Breakk- Return type:
- addItem(ItemInterface ...$item)¶
Add item(s)
- Parameters:
...$item (
ItemInterface) – The item(s)
- Returns:
A new instance of
Breakkwith 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
Breakkwith the comment- Return type: