Symfony\Component\PropertyAccess\PropertyPathIterator
Traverses a property path and provides additional methods to find out information about the current element
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class PropertyPathIterator
extends ArrayIterator
implements
PropertyPathIteratorInterface
{
- // members
- protected PropertyPathInterface $path;
- // methods
- public void __construct()
- public void isIndex()
- public void isProperty()
- // Inherited methods from ArrayIterator
- public void append()
- public void asort()
- public void __construct()
- public int count()
- public mixed current()
- public array getArrayCopy()
- public void getFlags()
- public mixed key()
- public void ksort()
- public void natcasesort()
- public void natsort()
- public void next()
- public void offsetExists()
- public mixed offsetGet()
- public void offsetSet()
- public void offsetUnset()
- public void rewind()
- public void seek()
- public string serialize()
- public void setFlags()
- public void uasort()
- public void uksort()
- public string unserialize()
- public bool valid()
Hierarchy
Extends
Extended by
Implements
Members
protected
- $path
—
Symfony\Component\PropertyAccess\PropertyPathInterface
The traversed property path
Methods
public
- __construct() — Constructor.
- isIndex() — {@inheritdoc}
- isProperty() — {@inheritdoc}
Inherited from ArrayIterator
public
- append() — Append an element
- asort() — Sort array by values
- count() — Count elements
- current() — Return current array entry
- getArrayCopy() — Get array copy
- getFlags() — Get flags
- key() — Return current array key
- ksort() — Sort array by keys
- natcasesort() — Sort an array naturally, case insensitive
- natsort() — Sort an array naturally
- next() — Move to next entry
- offsetExists() — Check if offset exists
- offsetGet() — Get value for an offset
- offsetSet() — Set value for an offset
- offsetUnset() — Unset value for an offset
- rewind() — Rewind array back to the start
- seek() — Seek to position
- serialize() — Serialize
- setFlags() — Set behaviour flags
- uasort() — User defined sort
- uksort() — User defined sort
- unserialize() — Unserialize
- valid() — Check whether array contains more entries