메소드 | 설명 | |
---|---|---|
handle ( Fenos\Notifynder\Contracts\NotifyListener $eventListener, null $notifynder = null ) : mixed | Handle the event. |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | string |
protected getNotifynder ( ) : Fenos\Notifynder\Notifynder | ||
리턴 | Fenos\Notifynder\Notifynder |
protected hasNotificationToSend ( $notificationsResult ) : boolean | ||
$notificationsResult | ||
리턴 | boolean |
protected listenerIsRegistered ( $eventName ) : boolean | ||
$eventName | ||
리턴 | boolean |