HH\Container
Represents an entity that can be iterated over using foreach
, without
requiring a key, except it does not include objects that implement
Iterator
The iteration variable will have a type of T
.
In addition to Hack collections, PHP array
s are Container
s.
Guides
Interface Synopsis
namespace HH;
interface Container implements Traversable<Tv> {...}