W3cubDocs

/Symfony 4.1

ViolationPathIterator

class ViolationPathIterator extends PropertyPathIterator

Properties

protected $path from PropertyPathIterator

Methods

__construct(ViolationPath $violationPath)
bool isIndex()

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

from PropertyPathIterator
bool isProperty()

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

from PropertyPathIterator
mapsForm()

Details

__construct(ViolationPath $violationPath)

Parameters

ViolationPath $violationPath

bool isIndex()

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

Return Value

bool

bool isProperty()

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

Return Value

bool

mapsForm()