Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | final class SortableIterableIterator implements IteratorAggregate |
||
16 | { |
||
17 | /** |
||
18 | * @var callable |
||
19 | */ |
||
20 | private $callable; |
||
21 | |||
22 | /** |
||
23 | * @var \loophp\collection\Iterator\IterableIterator |
||
24 | */ |
||
25 | private $iterator; |
||
26 | |||
27 | /** |
||
28 | * SortableIterator constructor. |
||
29 | * |
||
30 | * @param iterable<mixed> $iterable |
||
31 | * @param callable $callable |
||
32 | */ |
||
33 | public function __construct(iterable $iterable, callable $callable) |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function getIterator() |
||
51 |