TypeRepositoryInterface
                
            in
            
        
    
        
            Interface Type.
Tags
Table of Contents
Methods
- deleteType() : int
 - getAllNotificationType() : array<string|int, mixed>
 - getNotificationSettingsByChannel() : array<int, mixed>
 - updateNotificationSettingsByChannel() : bool
 - updateType() : Type
 - viewTypes() : Collection
 
Methods
deleteType()
    public
                    deleteType(User $context, int $id) : int
    Parameters
- $context : User
 - $id : int
 
Tags
Return values
intgetAllNotificationType()
    public
                    getAllNotificationType() : array<string|int, mixed>
    Return values
array<string|int, mixed>getNotificationSettingsByChannel()
    public
                    getNotificationSettingsByChannel(User $context, string $channel) : array<int, mixed>
    Parameters
- $context : User
 - $channel : string
 
Return values
array<int, mixed>updateNotificationSettingsByChannel()
    public
                    updateNotificationSettingsByChannel(User $context, array<string|int, mixed> $attributes) : bool
    Parameters
- $context : User
 - $attributes : array<string|int, mixed>
 
Return values
boolupdateType()
    public
                    updateType(User $context, int $id, array<string, mixed> $attributes) : Type
    Parameters
- $context : User
 - $id : int
 - $attributes : array<string, mixed>
 
Tags
Return values
TypeviewTypes()
    public
                    viewTypes(array<string, mixed> $attributes) : Collection
    Parameters
- $attributes : array<string, mixed>