NotificationManager
    
            
            in package
            
        
    
            
            implements
                            NotificationManagerInterface                    
    
    
Class NotificationManagerRepository.
Tags
Table of Contents
Interfaces
- NotificationManagerInterface
 - Interface NotificationSettingInterface.
 
Constants
- CACHE_CHANNELS = 'ChannelManager::channels'
 
Properties
- $handlerClasses : array<string, string>
 
Methods
- addHandler() : void
 - getChannelsForNotifiableByType() : array<string|int, string>
 - Get notification channels.
 - getHandler() : string|null
 - getNotificationType() : Type|null
 - routeNotificationFor() : mixed
 - This method will map to driver's repository.
 - getChannelsForType() : mixed
 - getNotifiableSettingByType() : mixed
 
Constants
CACHE_CHANNELS
    public
        mixed
    CACHE_CHANNELS
    = 'ChannelManager::channels'
    
    
    
Properties
$handlerClasses
    private
        array<string, string>
    $handlerClasses
     = []
    
    
    
Methods
addHandler()
    public
                    addHandler(string $type, string $class) : void
    Parameters
- $type : string
 - $class : string
 
getChannelsForNotifiableByType()
Get notification channels.
    public
                    getChannelsForNotifiableByType(IsNotifiable $notifiable, string $type) : array<string|int, string>
    Parameters
- $notifiable : IsNotifiable
 - $type : string
 
Return values
array<string|int, string>getHandler()
    public
                    getHandler(string $type) : string|null
    Parameters
- $type : string
 
Return values
string|nullgetNotificationType()
    public
                    getNotificationType(string $type) : Type|null
    Parameters
- $type : string
 
Return values
Type|nullrouteNotificationFor()
This method will map to driver's repository.
    public
                    routeNotificationFor(IsNotifiable $notifiable, string $driver, Notification $notification) : mixed
    Parameters
- $notifiable : IsNotifiable
 - $driver : string
 - $notification : Notification
 
getChannelsForType()
    private
                    getChannelsForType(Type $type) : mixed
    Parameters
- $type : Type
 
getNotifiableSettingByType()
    private
                    getNotifiableSettingByType(Type $type) : mixed
    Parameters
- $type : Type