ReportOwnerRepositoryInterface
                
            in
            
        
    
        
            Interface ReportOwner.
Tags
Table of Contents
Methods
- checkReportExist() : bool
 - createReportOwner() : false|ReportOwner
 - getReportByItem() : Model|null
 - updateReportOwner() : bool
 - viewReports() : Paginator
 - viewUsers() : mixed
 
Methods
checkReportExist()
    public
                    checkReportExist(User $context, int $reportId) : bool
    Parameters
- $context : User
 - $reportId : int
 
Return values
boolcreateReportOwner()
    public
                    createReportOwner(User $context, array<string, mixed> $attributes) : false|ReportOwner
    Parameters
- $context : User
 - $attributes : array<string, mixed>
 
Tags
Return values
false|ReportOwnergetReportByItem()
    public
                    getReportByItem(int $itemId, string $itemType) : Model|null
    Parameters
- $itemId : int
 - $itemType : string
 
Return values
Model|nullupdateReportOwner()
    public
                    updateReportOwner(User $context, int $id, array<string, mixed> $attributes) : bool
    Parameters
- $context : User
 - $id : int
 - $attributes : array<string, mixed>
 
Tags
Return values
boolviewReports()
    public
                    viewReports(User $context, array<string, mixed> $attributes) : Paginator
    Parameters
- $context : User
 - $attributes : array<string, mixed>
 
Tags
Return values
PaginatorviewUsers()
    public
                    viewUsers(User $context, int $reportId) : mixed
    Parameters
- $context : User
 - $reportId : int