Do not iterate on CollectionInfoIterator multiple times
As of PHPC-255, we cannot rewind a Cursor. PHPLIB-81 will ultimately change this by caching results; however, there is also no need to assert the iterator count here, since we're asserting the name during iteration (two CollectionInfo results would not share the same name).
Showing
Please
register
or
sign in
to comment