CancelReasonAdminRepositoryInterface
in
Interface CancelReason.
Table of Contents
Methods
- createReason() : CancelReason
- deleteReason() : bool
- getReasonsForForm() : Collection
- orderReasons() : bool
- updateReason() : CancelReason
- viewReasons() : Paginator
Methods
createReason()
public
createReason(User $context[, array<string, mixed> $attributes = [] ]) : CancelReason
Parameters
- $context : User
- $attributes : array<string, mixed> = []
Return values
CancelReasondeleteReason()
public
deleteReason(User $context, int $id) : bool
Parameters
- $context : User
- $id : int
Return values
boolgetReasonsForForm()
public
getReasonsForForm(User $context) : Collection
Parameters
- $context : User
Return values
CollectionorderReasons()
public
orderReasons(User $context[, array<string|int, int> $ids = [] ]) : bool
Parameters
- $context : User
- $ids : array<string|int, int> = []
Return values
boolupdateReason()
public
updateReason(User $context, int $id[, array<string, mixed> $attributes = [] ]) : CancelReason
Parameters
- $context : User
- $id : int
- $attributes : array<string, mixed> = []
Return values
CancelReasonviewReasons()
public
viewReasons(User $context[, array<string, mixed> $attributes = [] ]) : Paginator
Parameters
- $context : User
- $attributes : array<string, mixed> = []