Documentation

PropertyPathIterator extends ArrayIterator
in package
implements PropertyPathIteratorInterface

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

Tags
author

Bernhard Schussek bschussek@gmail.com

extends

\ArrayIterator<int, string>

Table of Contents

Interfaces

PropertyPathIteratorInterface

Properties

$path  : mixed

Methods

__construct()  : mixed
isIndex()  : bool
Returns whether the current element in the property path is an array index.
isProperty()  : bool
Returns whether the current element in the property path is a property name.

Properties

Methods

isIndex()

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

public isIndex() : bool
Return values
bool

isProperty()

Returns whether the current element in the property path is a property name.

public isProperty() : bool
Return values
bool

        
On this page

Search results