Method | Description | |
---|---|---|
handle ( Fenos\Notifynder\Contracts\NotifyListener $eventListener, null $notifynder = null ) : mixed | Handle the event. |
Method | Description | |
---|---|---|
getEventName ( $event ) : string | Get Event Name from the key it use a convention. | |
getNotifynder ( ) : Fenos\Notifynder\Notifynder | Get Notifynder Instance. | |
hasNotificationToSend ( $notificationsResult ) : boolean | Check if the fired method has some notifications to send. | |
listenerIsRegistered ( $eventName ) : boolean | Check if the listener exists on the class adding when as convention. |
protected getEventName ( $event ) : string | ||
$event | ||
return | string |
protected getNotifynder ( ) : Fenos\Notifynder\Notifynder | ||
return | Fenos\Notifynder\Notifynder |
protected hasNotificationToSend ( $notificationsResult ) : boolean | ||
$notificationsResult | ||
return | boolean |
protected listenerIsRegistered ( $eventName ) : boolean | ||
$eventName | ||
return | boolean |