normalizer.stub.php 668 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /** @generate-class-entries */
  3. class Normalizer
  4. {
  5. /**
  6. * @tentative-return-type
  7. * @alias normalizer_normalize
  8. */
  9. public static function normalize(string $string, int $form = Normalizer::FORM_C): string|false {}
  10. /**
  11. * @tentative-return-type
  12. * @alias normalizer_is_normalized
  13. */
  14. public static function isNormalized(string $string, int $form = Normalizer::FORM_C): bool {}
  15. #if U_ICU_VERSION_MAJOR_NUM >= 56
  16. /**
  17. * @tentative-return-type
  18. * @alias normalizer_get_raw_decomposition
  19. */
  20. public static function getRawDecomposition(string $string, int $form = Normalizer::FORM_C): ?string {}
  21. #endif
  22. }