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