for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Boudewijn Schoon <[email protected]>
* @copyright Zicht Online <http://zicht.nl>
*/
namespace Zicht\Itertools\lib\Traits;
use Zicht\Itertools as iter;
trait ReversedTrait
{
* Returns an iterable with all the elements from this iterable reversed
*
* @return iter\lib\ReversedIterator
public function reversed()
return iter\reversed($this);
}