1 | <?php |
||
10 | trait CodepointSearchByIteration |
||
11 | { |
||
12 | /** |
||
13 | * @param Codepoint $codepoint |
||
14 | * @throws CharacterNotFoundException |
||
15 | * @return CodepointAssigned |
||
16 | */ |
||
17 | public function getByCodepoint(Codepoint $codepoint) |
||
27 | |||
28 | /** |
||
29 | * @param Codepoint\Collection $codepoints |
||
30 | * @return Character\Collection |
||
31 | */ |
||
32 | public function getByCodepoints(Codepoint\Collection $codepoints) |
||
38 | |||
39 | /** |
||
40 | * @param Codepoint\Collection $codepoints |
||
41 | * @return \Generator |
||
42 | */ |
||
43 | protected function unionAgainstCodepoints(Codepoint\Collection $codepoints) |
||
51 | |||
52 | /** |
||
53 | * @return CodepointAssigned[] |
||
54 | */ |
||
55 | abstract public function getAll(); |
||
56 | } |