original_string: 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);
          }
      }
code: 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);
          }
      }
code_tokens: 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 ) ; } }
docstring: Runs notification events.
  
  @param array $notification
docstring_tokens: Runs notification events .