<?phpnamespaceMongoDB\Model;useIteratorIterator;/** * IndexInfoIterator for both listIndexes command and legacy query results. * * This common iterator may be used to wrap a Cursor returned by both the * listIndexes command and, for legacy servers, queries on the "system.indexes" * collection. * * @internal