ReportReasonAdminRepositoryInterface
in
Interface ReportReason.
Tags
Table of Contents
Methods
- createReason() : ReportReason
- deleteReason() : bool
- orderReasons() : bool
- updateReason() : ReportReason
- viewReasons() : Collection
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
boolorderReasons()
public
orderReasons(User $context[, array<string, mixed> $attributes = [] ]) : bool
Parameters
- $context : User
- $attributes : array<string, mixed> = []
Return values
boolupdateReason()
public
updateReason(User $context, int $id, array<string, mixed> $attributes) : ReportReason
Parameters
- $context : User
- $id : int
- $attributes : array<string, mixed>
Tags
Return values
ReportReasonviewReasons()
public
viewReasons(User $context) : Collection
Parameters
- $context : User