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 fromUTF16($string) |
||
89 | |||
90 | /** |
||
91 | * @param string $string |
||
92 | * @return static |
||
93 | */ |
||
94 | public static function fromUTF32($string) |
||
101 | |||
102 | /** |
||
103 | * @param string $string |
||
104 | * @param TransformationFormat $encoding |
||
105 | * @return static |
||
106 | */ |
||
107 | public static function fromEncodedString($string, TransformationFormat $encoding) |
||
119 | |||
120 | /** |
||
121 | * @return string |
||
122 | */ |
||
123 | public function toUTF8() |
||
129 | |||
130 | /** |
||
131 | * @return string |
||
132 | */ |
||
133 | public function toUTF16() |
||
139 | |||
140 | /** |
||
141 | * @return string |
||
142 | */ |
||
143 | public function toUTF32() |
||
149 | |||
150 | /** |
||
151 | * @param TransformationFormat $encoding |
||
152 | * @return string |
||
153 | */ |
||
154 | public function toEncodedString(TransformationFormat $encoding) |
||
164 | } |