MongoDB\BSON\PackedArray::getIterator
(mongodb >=1.16.0)
MongoDB\BSON\PackedArray::getIterator — Returns an iterator for the BSON array
Parameters
This function has no parameters.
Return Values
Returns a MongoDB\BSON\Iterator instance that can be
used to iterate over all indexes in the array.