\Symfony\Component\PropertyAccessPropertyPathIterator

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

Summary

Methods
Properties
Constants
__construct()
isIndex()
isProperty()
No public properties found
No constants found
No protected methods found
$path
N/A
No private methods found
No private properties found
N/A

Properties

$path

$path

Methods

__construct()

__construct(\Symfony\Component\PropertyAccess\PropertyPathInterface  $path) : mixed

Parameters

\Symfony\Component\PropertyAccess\PropertyPathInterface $path

Returns

mixed —

isIndex()

isIndex() : bool

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

Returns

bool —

isProperty()

isProperty() : bool

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

Returns

bool —