src/Watchers/NotificationWatcher.php
public function recordNotification(NotificationSent $event)
    {
        if (! Telescope::isRecording()) {
            return;
        }

        Telescope::recordNotification(IncomingEntry::make([
            'notification' => get_class($event->notification),
            'queued' => in_array(ShouldQueue::class, class_implements($event->notification)),
            'notifiable' => $this->formatNotifiable($event->notifiable),
            'channel' => $event->channel,
            'response' => $event->response,
        ])->tags($this->tags($event)));
    }
public function recordNotification(NotificationSent $event)
    {
        if (! Telescope::isRecording()) {
            return;
        }

        Telescope::recordNotification(IncomingEntry::make([
            'notification' => get_class($event->notification),
            'queued' => in_array(ShouldQueue::class, class_implements($event->notification)),
            'notifiable' => $this->formatNotifiable($event->notifiable),
            'channel' => $event->channel,
            'response' => $event->response,
        ])->tags($this->tags($event)));
    }
public function recordNotification ( NotificationSent $ event ) { if ( ! Telescope :: isRecording ( ) ) { return ; } Telescope :: recordNotification ( IncomingEntry :: make ( [ 'notification' => get_class ( $ event -> notification ) , 'queued' => in_array ( ShouldQueue :: class , class_implements ( $ event -> notification ) ) , 'notifiable' => $ this -> formatNotifiable ( $ event -> notifiable ) , 'channel' => $ event -> channel , 'response' => $ event -> response , ] ) -> tags ( $ this -> tags ( $ event ) ) ) ; }
Record a new notification message was sent.

@param  \Illuminate\Notifications\Events\NotificationSent  $event
@return void
Record a new notification message was sent .