Finallyy Class¶
- class Finallyy¶
Represents a finally clause a
TryCatchobject- addItem(ItemInterface ...$interface)¶
Add item(s)
- Parameters:
...$interface (
ItemInterface) – The item(s)
- Returns:
A new instance of
Finallyywith the item(s) added- Return type:
- withComment(string $comment)¶
Sets a comment for the Finallyy
- Parameters:
$comment (
string) – The comment
- Returns:
A new instance of
Finallyywith the comment- Return type:
- withItem(ItemInterface ...$interface)¶
Set item(s)
- Parameters:
...$interface (
ItemInterface) – The item(s)
- Returns:
A new instance of
Finallyywith the item(s)- Return type: