ReportReasonRepositoryInterface
in
Interface ReportReason.
Tags
Table of Contents
Methods
- createReason() : ReportReason
- deleteReason() : bool
- getFormReason() : Collection
- updateReason() : ReportReason
- viewReason() : ReportReason
- viewReasons() : Paginator
Methods
createReason()
public
createReason(User $context, array<string, mixed> $attributes) : ReportReason
Parameters
- $context : User
- $attributes : array<string, mixed>
Tags
Return values
ReportReasondeleteReason()
public
deleteReason(User $context, int $id) : bool
Parameters
- $context : User
- $id : int
Tags
Return values
boolgetFormReason()
public
getFormReason(User $context) : Collection
Parameters
- $context : User
Return values
CollectionupdateReason()
public
updateReason(User $context, int $id, array<string, mixed> $attributes) : ReportReason
Parameters
- $context : User
- $id : int
- $attributes : array<string, mixed>
Tags
Return values
ReportReasonviewReason()
public
viewReason(User $context, int $id) : ReportReason
Parameters
- $context : User
- $id : int
Tags
Return values
ReportReasonviewReasons()
public
viewReasons(User $context, array<string, mixed> $attributes) : Paginator
Parameters
- $context : User
- $attributes : array<string, mixed>