PropertyPathIterator

PropertyPathIterator

class PropertyPathIterator extends ArrayIterator implements PropertyPathIteratorInterface

Traverses a property path and provides additional methods to find out information about the current element.

Methods

__construct(PropertyPathInterface $path)

Constructor.

bool isIndex()

Returns whether the current element in the property path is an array index.

bool 登录查看完整内容