WeakMap::getIterator

(PHP 8)

WeakMap::getIteratorRetrieve an external iterator

说明

abstract public WeakMap::getIterator ( ) : Traversable

Returns an external iterator.

参数

此函数没有参数。

返回值

An instance of an object implementing Iterator or Traversable

错误/异常

Throws an Exception on failure.