W3cubDocs

/Symfony 2.8

Symfony\Component\Form\Extension\Validator\ViolationMapper\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

public __construct(ViolationPath $violationPath)

Constructor.

Parameters

ViolationPath $violationPath

public Boolean isIndex()

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

Return Value

Boolean

public Boolean isProperty()

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

Return Value

Boolean

public mapsForm()