The Traversable interfaceIntroductionInterface to detect if a class is traversable using foreach. Abstract base interface that cannot be implemented alone. Instead, it must be implemented by either IteratorAggregate or Iterator. Interface synopsis
Traversable
This interface has no methods, its only purpose is to be the base interface for all traversable classes. Changelog
Notes
|