| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | final class IteratorTransfer |
||
| 12 | { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Ctor. |
||
| 16 | * |
||
| 17 | * @param Iterator $origin original iterator. |
||
| 18 | */ |
||
| 19 | public function __construct( |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Transfers all values from origin to target. |
||
| 31 | * |
||
| 32 | * @param AddingIterator $target |
||
| 33 | * @return AddingIterator |
||
| 34 | */ |
||
| 35 | public function toTarget(AddingIterator $target): AddingIterator |
||
| 45 |