Owl\Events\Item\CommentEvent::__construct PHP 메소드

__construct() 공개 메소드

Create a new event instance.
public __construct ( string $itemId, string $userId, string $comment )
$itemId string
$userId string
$comment string
    public function __construct($itemId, $userId, $comment)
    {
        parent::__construct($itemId, $userId);
        $this->comment = $comment;
    }