ReactionRepositoryInterface
in
Interface Reaction.
Tags
Table of Contents
Methods
- createReaction() : Reaction
- getReactionsForConfig() : Collection
- updateReaction() : Reaction
- viewReaction() : Reaction
- viewReactionsForAdmin() : Paginator
- viewReactionsForFE() : Collection
Methods
createReaction()
public
createReaction(User $context, array<string, mixed> $attributes) : Reaction
Parameters
- $context : User
- $attributes : array<string, mixed>
Tags
Return values
ReactiongetReactionsForConfig()
public
getReactionsForConfig() : Collection
Return values
CollectionupdateReaction()
public
updateReaction(User $context, int $id, array<string, mixed> $attributes) : Reaction
Parameters
- $context : User
- $id : int
- $attributes : array<string, mixed>
Tags
Return values
ReactionviewReaction()
public
viewReaction(User $context, int $id) : Reaction
Parameters
- $context : User
- $id : int
Tags
Return values
ReactionviewReactionsForAdmin()
public
viewReactionsForAdmin(User $context, array<string, mixed> $attributes) : Paginator
Parameters
- $context : User
- $attributes : array<string, mixed>
Tags
Return values
PaginatorviewReactionsForFE()
public
viewReactionsForFE(User $context) : Collection
Parameters
- $context : User