ViolationPathIterator
extends PropertyPathIterator
in package
Traverses a property path and provides additional methods to find out information about the current element.
Tags
Table of Contents
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.
- mapsForm() : mixed
Properties
$path
protected
mixed
$path
Methods
__construct()
public
__construct(ViolationPath $violationPath) : mixed
Parameters
- $violationPath : ViolationPath
isIndex()
Returns whether the current element in the property path is an array index.
public
isIndex() : bool
Return values
boolisProperty()
Returns whether the current element in the property path is a property name.
public
isProperty() : bool
Return values
boolmapsForm()
public
mapsForm() : mixed