src/Listener/NotificationsListener.php
protected function runNotificationListener(string $event, array $notification)
    {
        app('events')->listen($event, function(array $variables = null, array $recipients = null) use($notification) {
            $this->eventDispatcher->run($notification, $variables, $recipients);
        });
    }
protected function runNotificationListener(string $event, array $notification)
    {
        app('events')->listen($event, function(array $variables = null, array $recipients = null) use($notification) {
            $this->eventDispatcher->run($notification, $variables, $recipients);
        });
    }
protected function runNotificationListener ( string $ event , array $ notification ) { app ( 'events' ) -> listen ( $ event , function ( array $ variables = null , array $ recipients = null ) use ( $ notification ) { $ this -> eventDispatcher -> run ( $ notification , $ variables , $ recipients ) ; } ) ; }
Runs notification listener.

@param string $event
@param array $notification
Runs notification listener .