protected function buildQueryResultCollection() { return new Utilities\QueryResultCollection(Traversable::factory($this->buildIteratorScheme())); }
public function __construct(callable $traversableFactory = null) { $this->storage = new \SplObjectStorage(); $this->traversableFactory = $traversableFactory ?: Traversable::factory(); }