protected function listenNotificationsEvents(array $notification)
    {
        $events = Arr::get($notification, 'event');

        if($events === null && isset($notification['classname'])) {
            $events = app()->make($notification['classname'])->getEvents();
        }

        foreach ((array) $events as $event) {
            $this->runNotificationListener($event, $notification);
        }
    }
protected function listenNotificationsEvents(array $notification)
    {
        $events = Arr::get($notification, 'event');

        if($events === null && isset($notification['classname'])) {
            $events = app()->make($notification['classname'])->getEvents();
        }

        foreach ((array) $events as $event) {
            $this->runNotificationListener($event, $notification);
        }
    }
protected function listenNotificationsEvents ( array $ notification ) { $ events = Arr :: get ( $ notification , 'event' ) ; if ( $ events === null && isset ( $ notification [ 'classname' ] ) ) { $ events = app ( ) -> make ( $ notification [ 'classname' ] ) -> getEvents ( ) ; } foreach ( ( array ) $ events as $ event ) { $ this -> runNotificationListener ( $ event , $ notification ) ; } }
Runs notification events.

@param array $notification
Runs notification events .