<?php interface Spam extends \Traversable { // ... } final class Ham implements Spam, \IteratorAggregate { public function getIterator() { return new \ArrayIterator(range(1, 10)); } }
You have javascript disabled. You will not be able to edit any code.