original_string: public static function getSubscribedEvents()
      {
          $methods = get_class_methods(get_called_class());
  
          $list = [];
          foreach ($methods as $method) {
              if (strpos($method, 'on') === 0) {
                  $list[$method] = [$method, 0];
              }
          }
  
          return $list;
      }
code: public static function getSubscribedEvents()
      {
          $methods = get_class_methods(get_called_class());
  
          $list = [];
          foreach ($methods as $method) {
              if (strpos($method, 'on') === 0) {
                  $list[$method] = [$method, 0];
              }
          }
  
          return $list;
      }
code_tokens: public static function getSubscribedEvents ( ) { $ methods = get_class_methods ( get_called_class ( ) ) ; $ list = [ ] ; foreach ( $ methods as $ method ) { if ( strpos ( $ method , 'on' ) === 0 ) { $ list [ $ method ] = [ $ method , 0 ] ; } } return $ list ; }
docstring: By default assign all methods as listeners using the default priority.
  
  @return array
docstring_tokens: By default assign all methods as listeners using the default priority .