PHP Class Phalcon\Db\Adapter\MongoDB\Model\CollectionInfoCommandIterator

This iterator may be used to wrap a Cursor returned by the listCollections command.
See also: MongoDB\Database::listCollections()
See also: https://github.com/mongodb/specifications/blob/master/source/enumerate-collections.rst
See also: http://docs.mongodb.org/manual/reference/command/listCollections/
Inheritance: extends IteratorIterato\IteratorIterator, implements Phalcon\Db\Adapter\MongoDB\Model\CollectionInfoIterator
Datei anzeigen Open project: phalcon/incubator

Public Methods

Method Description
current ( ) : CollectionInfo Return the current element as a CollectionInfo instance.

Method Details

current() public method

Return the current element as a CollectionInfo instance.
See also: CollectionInfoIterator::current()
See also: http://php.net/iterator.current
public current ( ) : CollectionInfo
return CollectionInfo