Validator\ViolationMapper\ViolationPathIterator (Component\Form\Extension)

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()

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部