ViolationPathIterator

class ViolationPathIterator extends PropertyPathIterator

Methods

__construct(ViolationPath $violationPath)

Constructor.

Boolean isIndex()

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

from PropertyPathIterator
Boolean isProperty()

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

from PropertyPathIterator
mapsForm()

Details

__construct(ViolationPath $violationPath)

Constructor.

Parameters

ViolationPath $violationPath

Boolean isIndex()

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

Return Value

Boolean

Boolean isProperty()

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

Return Value

Boolean

mapsForm()