original_string: public static function trigger()
      {
          $args = func_get_args();
  
          //Check if trigger have parrams
          $haveParams = count($args) > 1 ? true : false;
  
          //Get events
          $events = self::splite($args[0]);
  
          if ($haveParams && count($events) > 1) {
              throw new ManyListenersArgumentsException();
          }
  
          if (count($events) > 1) {
              self::runMany($events);
          } elseif (count($events) == 1) {
              self::runOne($events, array_except($args, 0));
          }
  
          return true;
      }
code: public static function trigger()
      {
          $args = func_get_args();
  
          //Check if trigger have parrams
          $haveParams = count($args) > 1 ? true : false;
  
          //Get events
          $events = self::splite($args[0]);
  
          if ($haveParams && count($events) > 1) {
              throw new ManyListenersArgumentsException();
          }
  
          if (count($events) > 1) {
              self::runMany($events);
          } elseif (count($events) == 1) {
              self::runOne($events, array_except($args, 0));
          }
  
          return true;
      }
code_tokens: public static function trigger ( ) { $ args = func_get_args ( ) ; //Check if trigger have parrams $ haveParams = count ( $ args ) > 1 ? true : false ; //Get events $ events = self :: splite ( $ args [ 0 ] ) ; if ( $ haveParams && count ( $ events ) > 1 ) { throw new ManyListenersArgumentsException ( ) ; } if ( count ( $ events ) > 1 ) { self :: runMany ( $ events ) ; } elseif ( count ( $ events ) == 1 ) { self :: runOne ( $ events , array_except ( $ args , 0 ) ) ; } return true ; }
docstring: Fire a trigger.
  
  @param
  @param
  
  @return
docstring_tokens: Fire a trigger .