original_string: private function validateType($type)
      {
          if (!in_array($type, self::$validTypes)) {
              throw new InvalidMappingException(
                  'Invalid uploadable field type reference. Must be one of: '.implode(', ', self::$validTypes)
              );
          }
      }
code: private function validateType($type)
      {
          if (!in_array($type, self::$validTypes)) {
              throw new InvalidMappingException(
                  'Invalid uploadable field type reference. Must be one of: '.implode(', ', self::$validTypes)
              );
          }
      }
code_tokens: private function validateType ( $ type ) { if ( ! in_array ( $ type , self :: $ validTypes ) ) { throw new InvalidMappingException ( 'Invalid uploadable field type reference. Must be one of: ' . implode ( ', ' , self :: $ validTypes ) ) ; } }
docstring: Validate the given type of file field.
  
  @param string $type
  
  @return void
docstring_tokens: Validate the given type of file field .