MetaFox

ReactionRepositoryInterface
in

Interface Reaction.

Tags
mixin

BaseRepository

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
throws
AuthorizationException
throws
ValidatorException
Return values
Reaction

updateReaction()

public updateReaction(User $context, int $id, array<string, mixed> $attributes) : Reaction
Parameters
$context : User
$id : int
$attributes : array<string, mixed>
Tags
throws
AuthorizationException
Return values
Reaction

viewReactionsForAdmin()

public viewReactionsForAdmin(User $context, array<string, mixed> $attributes) : Paginator
Parameters
$context : User
$attributes : array<string, mixed>
Tags
throws
AuthorizationException
Return values
Paginator

viewReactionsForFE()

public viewReactionsForFE(User $context) : Collection
Parameters
$context : User
Tags
throws
AuthorizationException
Return values
Collection

        
On this page

Search results