PHP Class Owl\Events\Item\CommentEvent

Inheritance: extends BaseItemEvent
Show file Open project: owl/owl Class Usage Examples

Protected Properties

Property Type Description
$comment string

Public Methods

Method Description
__construct ( string $itemId, string $userId, string $comment ) Create a new event instance.
getComment ( ) : string Get text of comment

Method Details

__construct() public method

Create a new event instance.
public __construct ( string $itemId, string $userId, string $comment )
$itemId string
$userId string
$comment string

getComment() public method

Get text of comment
public getComment ( ) : string
return string

Property Details

$comment protected property

protected string $comment
return string