<?php
namespace MongoDB\Model;
use Iterator;
/**
* DatabaseInfoIterator interface.
*
* This iterator is used for enumerating databases on a server.
*
* @api
* @see \MongoDB\Client::listDatabases()
*/
interface DatabaseInfoIterator extends Iterator
{
/**
* Return the current element as a DatabaseInfo instance.
*
* @return DatabaseInfo
*/
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