1 | <?php |
||
10 | class Collection extends TraversableBackedCollection |
||
11 | { |
||
12 | /** |
||
13 | * @return \Traversable|int[] |
||
14 | */ |
||
15 | public function flatten() |
||
22 | |||
23 | /** |
||
24 | * @param Codepoint $codepoint |
||
25 | * @return bool |
||
26 | */ |
||
27 | public function has(Codepoint $codepoint) |
||
37 | |||
38 | /** |
||
39 | * @return Range[]|Range\Collection |
||
40 | */ |
||
41 | public function aggregate() |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | public function toRegexCharacterClass() |
||
65 | |||
66 | /** |
||
67 | * @param string $string |
||
68 | * @return static |
||
69 | */ |
||
70 | public static function fromUTF8($string) |
||
77 | |||
78 | /** |
||
79 | * @param string $string |
||
80 | * @return static |
||
81 | */ |
||
82 | public static function fromUTF16LE($string) |
||
89 | |||
90 | /** |
||
91 | * @param string $string |
||
92 | * @return static |
||
93 | */ |
||
94 | public static function fromUTF16BE($string) |
||
101 | |||
102 | /** |
||
103 | * @param string $string |
||
104 | * @return static |
||
105 | */ |
||
106 | public static function fromUTF32LE($string) |
||
113 | |||
114 | /** |
||
115 | * @param string $string |
||
116 | * @return static |
||
117 | */ |
||
118 | public static function fromUTF32BE($string) |
||
125 | |||
126 | /** |
||
127 | * @param string $string |
||
128 | * @param TransformationFormat $encoding |
||
129 | * @return static |
||
130 | */ |
||
131 | public static function fromEncodedString($string, TransformationFormat $encoding) |
||
143 | |||
144 | /** |
||
145 | * @return string |
||
146 | */ |
||
147 | public function toUTF8() |
||
153 | |||
154 | /** |
||
155 | * @return string |
||
156 | */ |
||
157 | public function toUTF16LE() |
||
163 | |||
164 | /** |
||
165 | * @return string |
||
166 | */ |
||
167 | public function toUTF16BE() |
||
173 | |||
174 | /** |
||
175 | * @return string |
||
176 | */ |
||
177 | public function toUTF32LE() |
||
183 | |||
184 | /** |
||
185 | * @return string |
||
186 | */ |
||
187 | public function toUTF32BE() |
||
193 | |||
194 | /** |
||
195 | * @param TransformationFormat $convertTo |
||
196 | * @return string |
||
197 | */ |
||
198 | public function toEncodedString(TransformationFormat $convertTo) |
||
208 | } |