You are viewing an offline version of MongoDB documentation. Some page features might be unavailable. To view the latest version of the page or use interactive features, visit the live page.
MongoDB\Model\IndexInfoIterator Class
Definition
MongoDB\Model\IndexInfoIteratorThis interface extends PHP's Iterator interface. An instance of this interface is returned by
MongoDB\Collection::listIndexes().
Methods
This interface adds no new methods to Iterator, but specifies that current() will return an instance of
MongoDB\Model\IndexInfo.