for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* File was created 12.06.2015 09:31
*
* @author Karsten J. Gerber <[email protected]>
*/
namespace PeekAndPoke\Component\Psi\Iterator;
class KeylessAppendIterator extends \AppendIterator
{
/** @var int */
private $key;
public function rewind()
$this->key = 0;
parent::rewind();
}
public function next()
if ($this->valid()) {
parent::next();
++$this->key;
* @return int
public function key()
return $this->key;