1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
|
<?php
/** @generate-class-entries */
/** @not-serializable */
class IntlBreakIterator implements IteratorAggregate
{
/**
* @var int
* @cvalue BreakIterator::DONE
*/
public const DONE = UNKNOWN;
/**
* @var int
* @cvalue UBRK_WORD_NONE
*/
public const WORD_NONE = UNKNOWN;
/**
* @var int
* @cvalue UBRK_WORD_NONE_LIMIT
*/
public const WORD_NONE_LIMIT = UNKNOWN;
/**
* @var int
* @cvalue UBRK_WORD_NUMBER
*/
public const WORD_NUMBER = UNKNOWN;
/**
* @var int
* @cvalue UBRK_WORD_NUMBER_LIMIT
*/
public const WORD_NUMBER_LIMIT = UNKNOWN;
/**
* @var int
* @cvalue UBRK_WORD_LETTER
*/
public const WORD_LETTER = UNKNOWN;
/**
* @var int
* @cvalue UBRK_WORD_LETTER_LIMIT
*/
public const WORD_LETTER_LIMIT = UNKNOWN;
/**
* @var int
* @cvalue UBRK_WORD_KANA
*/
public const WORD_KANA = UNKNOWN;
/**
* @var int
* @cvalue UBRK_WORD_KANA_LIMIT
*/
public const WORD_KANA_LIMIT = UNKNOWN;
/**
* @var int
* @cvalue UBRK_WORD_IDEO
*/
public const WORD_IDEO = UNKNOWN;
/**
* @var int
* @cvalue UBRK_WORD_IDEO_LIMIT
*/
public const WORD_IDEO_LIMIT = UNKNOWN;
/**
* @var int
* @cvalue UBRK_LINE_SOFT
*/
public const LINE_SOFT = UNKNOWN;
/**
* @var int
* @cvalue UBRK_LINE_SOFT_LIMIT
*/
public const LINE_SOFT_LIMIT = UNKNOWN;
/**
* @var int
* @cvalue UBRK_LINE_HARD
*/
public const LINE_HARD = UNKNOWN;
/**
* @var int
* @cvalue UBRK_LINE_HARD_LIMIT
*/
public const LINE_HARD_LIMIT = UNKNOWN;
/**
* @var int
* @cvalue UBRK_SENTENCE_TERM
*/
public const SENTENCE_TERM = UNKNOWN;
/**
* @var int
* @cvalue UBRK_SENTENCE_TERM_LIMIT
*/
public const SENTENCE_TERM_LIMIT = UNKNOWN;
/**
* @var int
* @cvalue UBRK_SENTENCE_SEP
*/
public const SENTENCE_SEP = UNKNOWN;
/**
* @var int
* @cvalue UBRK_SENTENCE_SEP_LIMIT
*/
public const SENTENCE_SEP_LIMIT = UNKNOWN;
/** @tentative-return-type */
public static function createCharacterInstance(?string $locale = null): ?IntlBreakIterator {}
/** @tentative-return-type */
public static function createCodePointInstance(): IntlCodePointBreakIterator {}
/** @tentative-return-type */
public static function createLineInstance(?string $locale = null): ?IntlBreakIterator {}
/** @tentative-return-type */
public static function createSentenceInstance(?string $locale = null): ?IntlBreakIterator {}
/** @tentative-return-type */
public static function createTitleInstance(?string $locale = null): ?IntlBreakIterator {}
/** @tentative-return-type */
public static function createWordInstance(?string $locale = null): ?IntlBreakIterator {}
private function __construct() {}
/** @tentative-return-type */
public function current(): int {}
/** @tentative-return-type */
public function first(): int {}
/** @tentative-return-type */
public function following(int $offset): int {}
/** @tentative-return-type */
public function getErrorCode(): int {}
/** @tentative-return-type */
public function getErrorMessage(): string {}
/** @tentative-return-type */
public function getLocale(int $type): string|false {}
/** @tentative-return-type */
public function getPartsIterator(string $type = IntlPartsIterator::KEY_SEQUENTIAL): IntlPartsIterator {}
/** @tentative-return-type */
public function getText(): ?string {}
/** @tentative-return-type */
public function isBoundary(int $offset): bool {}
/** @tentative-return-type */
public function last(): int {}
/** @tentative-return-type */
public function next(?int $offset = null): int {}
/** @tentative-return-type */
public function preceding(int $offset): int {}
/** @tentative-return-type */
public function previous(): int {}
/** @tentative-return-type */
public function setText(string $text): ?bool {} // TODO return false instead of null in case of failure
public function getIterator(): Iterator {}
}
/** @not-serializable */
class IntlRuleBasedBreakIterator extends IntlBreakIterator
{
public function __construct(string $rules, bool $compiled = false) {}
/** @tentative-return-type */
public function getBinaryRules(): string|false {}
/** @tentative-return-type */
public function getRules(): string|false {}
/** @tentative-return-type */
public function getRuleStatus(): int {}
/** @tentative-return-type */
public function getRuleStatusVec(): array|false {}
}
/** @not-serializable */
class IntlCodePointBreakIterator extends IntlBreakIterator
{
/** @tentative-return-type */
public function getLastCodePoint(): int {}
}
|