Docs Menu

Docs HomePHP Library Manual

MongoDB\Model\CollectionInfoIterator Class

MongoDB\Model\CollectionInfoIterator

This interface extends PHP's Iterator interface. An instance of this interface is returned by MongoDB\Database::listCollections().

This interface adds no new methods to Iterator, but specifies that current() will return an instance of MongoDB\Model\CollectionInfo.

←  MongoDB\Model\CollectionInfo::isCapped()MongoDB\Model\DatabaseInfo Class →