MongoDB\Model\DatabaseInfoIterator Class
Definition
MongoDB\Model\DatabaseInfoIterator
This interface extends PHP's Iterator interface. An instance of this interface is returned by
MongoDB\Client::listDatabases()
.
Methods
This interface adds no new methods to Iterator, but specifies that current() will return an instance of
MongoDB\Model\DatabaseInfo
.