Events

Commenter triggers the following events for your handlers to listen to:

Consult Laravel documentation to learn more about event and handlers.

Event Name
Properties
Description
LakM\Commenter\Events\Comment\CommentCreated
public LakM\Commenter\Models\Comment $model

After a comment is created successfully.

LakM\Commenter\Events\Comment\CommentDeleted
public LakM\Commenter\Models\Comment $model

After a comment is deleted.

LakM\Commenter\Events\Comment\CommentUpdated
public LakM\Commenter\Models\Comment $model

After a comment is updated.

LakM\Comments\Events\Reply\ReplyCreated
public LakM\Commenter\Models\Comment $model,
public LakM\Commenter\Models\Reply $reply

After a reply is created.

LakM\Commenter\Events\Reply\ReplyDeleted
public LakM\Commenter\Models\Reply $model

After a reply is deleted.

LakM\Commenter\Events\Reply\ReplyUpdated
public LakM\Commenter\Models\Reply $model

After a reply is updated.

Last updated

Was this helpful?