<?php
namespace MongoDB\Model;
use Iterator;
/**
* IndexInfoIterator interface.
*
* This iterator is used for enumerating indexes in a collection.
*
* @api
* @see \MongoDB\Collection::listIndexes()
*/
interface IndexInfoIterator extends Iterator
{
/**
* Return the current element as a IndexInfo instance.
*
* @return IndexInfo
*/
public function current();
}
-
Fabien Villepinte authored
PhpStorm (and possibly other IDEs) must be able to resolve the class name in order to process these references. We can use FQCNs instead of adding "use" statements.
94a803d8