CommentAdminRepositoryInterface
in
Interface Comment.
Tags
Table of Contents
Methods
- approve() : Content
- decline() : bool
- Decline a comment.
- viewPendingComment() : Paginator
- View pending comment.
Methods
approve()
public
approve(User $context, int $id) : Content
Parameters
- $context : User
- $id : int
Tags
Return values
Contentdecline()
Decline a comment.
public
decline(int $id) : bool
Parameters
- $id : int
Tags
Return values
boolviewPendingComment()
View pending comment.
public
viewPendingComment(array<string, mixed> $attributes) : Paginator
Parameters
- $attributes : array<string, mixed>