Свойство | Type | Description | |
---|---|---|---|
$defaultWildcard | string | Default namespace for notifications events. |
Свойство | Type | Description | |
---|---|---|---|
$event | Illuminate\Events\Dispatcher | ||
$sender | string | Default sender method. |
Méthode | Description | |
---|---|---|
__construct ( Illuminate\Contracts\Events\Dispatcher $event ) | ||
boot ( array $listeners ) | Boot The listeners. | |
delegate ( Fenos\Notifynder\Notifynder $notifynder, array $data, array $events ) : mixed | Delegate events to categories. | |
fire ( Fenos\Notifynder\Notifynder $notifynder, string $eventName, string $categoryName = null, mixed | null $values = [] ) : mixed | null | It fire the event associated to the passed key, trigger the listener method bound with. | |
hasNotificationToSend ( $notificationsResult ) : boolean | Check if the fired method has some notifications to send. | |
sendWith ( $customMethod ) | Tell the dispatcher to send the notification with a custom (extended method). |
Méthode | Description | |
---|---|---|
generateEventName ( $eventName ) : string | Get Event name. |
public __construct ( Illuminate\Contracts\Events\Dispatcher $event ) | ||
$event | Illuminate\Contracts\Events\Dispatcher |
protected generateEventName ( $eventName ) : string | ||
$eventName | ||
Résultat | string |
public hasNotificationToSend ( $notificationsResult ) : boolean | ||
$notificationsResult | ||
Résultat | boolean |
public sendWith ( $customMethod ) | ||
$customMethod |
public static string $defaultWildcard | ||
Résultat | string |
protected Dispatcher,Illuminate\Events $event | ||
Résultat | Illuminate\Events\Dispatcher |