CreationMessage Class¶
- class CreationMessage¶
Represents a creation message
Implements
ItemInterface- __construct(string $name, ?array $parameters = null)¶
Create a new CreationMessage
- Parameters:
$name (
string) – The object name$parameters (
list) – Message parameter(s)
- Returns:
A new
CreationMessageinstance- Return type:
- withComment(string $comment)¶
Set a comment for the CreationMessage
- Parameters:
$comment (
string) – The comment
- Returns:
A new instance of
CreationMessagewith the comment- Return type: