src/precore/util/Iterables.php
public static function toString(IteratorAggregate $iterable) : string
    {
        return Iterators::toString(Iterators::from($iterable->getIterator()));
    }
public static function toString(IteratorAggregate $iterable) : string
    {
        return Iterators::toString(Iterators::from($iterable->getIterator()));
    }
public static function toString ( IteratorAggregate $ iterable ) : string { return Iterators :: toString ( Iterators :: from ( $ iterable -> getIterator ( ) ) ) ; }
Returns a string representation of iterable, with the format [e1, e2, ..., en].

@param IteratorAggregate $iterable
@return string
Returns a string representation of iterable with the format [ e1 e2 ... en ] .