ConstraintViolationListInterface

ConstraintViolationListInterface

interface ConstraintViolationListInterface implements Traversable, Countable, ArrayAccess

A list of constraint violations.

Methods

add(ConstraintViolationInterface $violation)

Adds a constraint violation to this list.

addAll(登录查看完整内容