for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Collections\Iterator;
use Collections\Iterable;
class LazyValuesIterable implements Iterable
{
use LazyIterableTrait;
/**
* @var Iterable
*/
private $iterable;
public function __construct($iterable)
$this->iterable = $iterable;
}
public function getIterator()
return new LazyValuesIterator($this->iterable->getIterator());