| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class MappedTraversable implements IteratorAggregate |
||
| 16 | { |
||
| 17 | /** @var Traversable<mixed> */ |
||
| 18 | private $traversable; |
||
| 19 | |||
| 20 | /** @var callable */ |
||
| 21 | private $mapper; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param Traversable<mixed> $traversable |
||
| 25 | */ |
||
| 26 | public function __construct(Traversable $traversable, callable $mapper) |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return Traversable<mixed> |
||
| 34 | */ |
||
| 35 | public function getIterator(): Traversable |
||
| 42 |