StrictIterable
This file provides type information for some of PHP's predefined interfaces
YOU SHOULD NEVER INCLUDE THIS FILE ANYWHERE!!!
Interface Synopsis
trait StrictIterable implements HH\Iterable<Tv> {...}
Public Methods
->concat<Tu super Tv>(Traversable<Tu> $traversable): Iterable<Tu>
->filter((function(Tv): bool) $fn): Iterable<Tv>
->firstValue(): ?Tv
->lastValue(): ?Tv
->lazy(): Iterable<Tv>
->map<Tu>((function(Tv): Tu) $fn): Iterable<Tu>
->skip(int $n): Iterable<Tv>
->skipWhile((function(Tv): bool) $fn): Iterable<Tv>
->slice(int $start, int $len): Iterable<Tv>
->take(int $n): Iterable<Tv>
->takeWhile((function(Tv): bool) $fn): Iterable<Tv>
->toArray()
->toImmSet(): ImmSet<Tv>
->toImmVector(): ImmVector<Tv>
->toSet()
->toValuesArray(): varray<Tv>
->toVector()
->values(): Iterable<Tv>
->zip<Tu>(Traversable<Tu> $traversable): Iterable<Pair<Tv, Tu>>
Public Methods (HH\Iterable
)
->getIterator(): Iterator<Tv>
Returns an iterator that points to beginning of the currentIterable