src/Watchers/NotificationWatcher.php
private function formatNotifiable($notifiable)
    {
        if ($notifiable instanceof Model) {
            return FormatModel::given($notifiable);
        } elseif ($notifiable instanceof AnonymousNotifiable) {
            return 'Anonymous:'.implode(',', $notifiable->routes);
        }

        return get_class($notifiable);
    }
private function formatNotifiable($notifiable)
    {
        if ($notifiable instanceof Model) {
            return FormatModel::given($notifiable);
        } elseif ($notifiable instanceof AnonymousNotifiable) {
            return 'Anonymous:'.implode(',', $notifiable->routes);
        }

        return get_class($notifiable);
    }
private function formatNotifiable ( $ notifiable ) { if ( $ notifiable instanceof Model ) { return FormatModel :: given ( $ notifiable ) ; } elseif ( $ notifiable instanceof AnonymousNotifiable ) { return 'Anonymous:' . implode ( ',' , $ notifiable -> routes ) ; } return get_class ( $ notifiable ) ; }
Format the given notifiable into a tag.

@param  mixed  $notifiable
@return string
Format the given notifiable into a tag .