original_string: public static function runMany($events)
      {
          foreach ($events as $key => $value) {
              $name = '\Vinala\App\Events\\'.$key;
  
              $object = new $name();
  
              if (is_array($value)) {
                  foreach ($value as $function) {
                      $function = self::$listners[$key.'.'.$function];
  
                      $object->$function();
                  }
              } elseif (is_string($value)) {
                  $function = self::$listners[$key.'.'.$value];
  
                  $object->$function();
              }
          }
  
          return true;
      }
code: public static function runMany($events)
      {
          foreach ($events as $key => $value) {
              $name = '\Vinala\App\Events\\'.$key;
  
              $object = new $name();
  
              if (is_array($value)) {
                  foreach ($value as $function) {
                      $function = self::$listners[$key.'.'.$function];
  
                      $object->$function();
                  }
              } elseif (is_string($value)) {
                  $function = self::$listners[$key.'.'.$value];
  
                  $object->$function();
              }
          }
  
          return true;
      }
code_tokens: public static function runMany ( $ events ) { foreach ( $ events as $ key => $ value ) { $ name = '\Vinala\App\Events\\' . $ key ; $ object = new $ name ( ) ; if ( is_array ( $ value ) ) { foreach ( $ value as $ function ) { $ function = self :: $ listners [ $ key . '.' . $ function ] ; $ object -> $ function ( ) ; } } elseif ( is_string ( $ value ) ) { $ function = self :: $ listners [ $ key . '.' . $ value ] ; $ object -> $ function ( ) ; } } return true ; }
docstring: Run and execute many events trigger.
  
  @param array $events
  
  @return bool
docstring_tokens: Run and execute many events trigger .