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()
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Form/Extension/Validator/ViolationMapper/ViolationPathIterator.html