1 | <?php |
||
20 | class IteratorFactory { |
||
21 | |||
22 | /** |
||
23 | * @since 1.0 |
||
24 | * |
||
25 | * @param array|Iterator $iterator |
||
26 | * @param callable $callback |
||
27 | * |
||
28 | * @return MappingIterator |
||
29 | */ |
||
30 | 1 | public function newMappingIterator( $iterator, callable $callback ) { |
|
33 | |||
34 | /** |
||
35 | * @since 1.0 |
||
36 | * |
||
37 | * @param array|Iterator $iterator |
||
38 | * @param Store $store |
||
39 | * |
||
40 | * @return RecursiveGroupMembersIterator |
||
41 | */ |
||
42 | 1 | public function newRecursiveGroupMembersIterator( $iterator, Store $store ) { |
|
45 | |||
46 | /** |
||
47 | * @since 1.0 |
||
48 | * |
||
49 | * @param RecursiveIterator $recursiveIterator |
||
50 | * |
||
51 | * @return RecursiveIteratorIterator |
||
52 | */ |
||
53 | 1 | public function newRecursiveIteratorIterator( RecursiveIterator $recursiveIterator ) { |
|
56 | |||
57 | /** |
||
58 | * @since 1.0 |
||
59 | * |
||
60 | * @param Iterator|array $iterator |
||
61 | * |
||
62 | * @return ChildlessRecursiveIterator |
||
63 | */ |
||
64 | 1 | public function newChildlessRecursiveIterator( $iterator ) { |
|
67 | |||
68 | } |
||
69 |