original_string: public static function registerRule($type, $className, $includeFile = null,
                                          $config = null)
      {
          self::$registeredRules[strtolower($type)] = array($className, $includeFile, $config);
      }
code: public static function registerRule($type, $className, $includeFile = null,
                                          $config = null)
      {
          self::$registeredRules[strtolower($type)] = array($className, $includeFile, $config);
      }
code_tokens: public static function registerRule ( $ type , $ className , $ includeFile = null , $ config = null ) { self :: $ registeredRules [ strtolower ( $ type ) ] = array ( $ className , $ includeFile , $ config ) ; }
docstring: Registers a new rule type
  
  @param    string  Rule type name (treated case-insensitively)
  @param    string  Class name
  @param    string  File containing the class, leave empty if class already loaded
  @param    mixed   Configuration data for rules of the given type
docstring_tokens: Registers a new rule type