gielfeldt/iterators

View on GitHub
src/FlipIterator.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Gielfeldt\Iterators;

class FlipIterator extends TraversableIterator
{
    public function key()
    {
        return parent::current();
    }

    public function current()
    {
        return parent::key();
    }
}