TypeRepositoryInterface
                
            in
            
        
    
        
            Interface Type.
Tags
Table of Contents
Methods
- deleteType() : int
 - getActiveTypes() : array<string|int, string>
 - Get activated activity types.
 - getTypeByType() : Type|null
 - updateType() : Type
 
Methods
deleteType()
    public
                    deleteType(User $context, int $id) : int
    Parameters
- $context : User
 - $id : int
 
Tags
Return values
intgetActiveTypes()
Get activated activity types.
    public
                    getActiveTypes() : array<string|int, string>
    Return values
array<string|int, string>getTypeByType()
    public
                    getTypeByType(string $type) : Type|null
    Parameters
- $type : string
 
Return values
Type|nullupdateType()
    public
                    updateType(User $context, int $id, array<string, mixed> $attributes) : Type
    Parameters
- $context : User
 - $id : int
 - $attributes : array<string, mixed>