1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/intl/listformatter/listformatter.stub.php

51 lines
1.3 KiB
PHP

<?php
/** @generate-class-entries */
/**
* @not-serializable
* @strict-properties
*/
final class IntlListFormatter {
#if U_ICU_VERSION_MAJOR_NUM >= 67
/** @cvalue ULISTFMT_TYPE_AND */
public const int TYPE_AND = UNKNOWN;
#else
/** @cvalue INTL_LISTFORMATTER_FALLBACK_TYPE_AND */
public const int TYPE_AND = UNKNOWN;
#endif
#if U_ICU_VERSION_MAJOR_NUM >= 67
/** @cvalue ULISTFMT_TYPE_OR */
public const int TYPE_OR = UNKNOWN;
/** @cvalue ULISTFMT_TYPE_UNITS */
public const int TYPE_UNITS = UNKNOWN;
#endif
#if U_ICU_VERSION_MAJOR_NUM >= 67
/** @cvalue ULISTFMT_WIDTH_WIDE */
public const int WIDTH_WIDE = UNKNOWN;
#else
/** @cvalue INTL_LISTFORMATTER_FALLBACK_WIDTH_WIDE */
public const int WIDTH_WIDE = UNKNOWN;
#endif
#if U_ICU_VERSION_MAJOR_NUM >= 67
/** @cvalue ULISTFMT_WIDTH_SHORT */
public const int WIDTH_SHORT = UNKNOWN;
/** @cvalue ULISTFMT_WIDTH_NARROW */
public const int WIDTH_NARROW = UNKNOWN;
#endif
public function __construct(string $locale, int $type = IntlListFormatter::TYPE_AND, int $width = IntlListFormatter::WIDTH_WIDE) {}
public function format(array $strings): string|false {}
public function getErrorCode(): int {}
public function getErrorMessage(): string {}
}