ConstraintViolationListInterface
interface ConstraintViolationListInterface implements Traversable, Countable, ArrayAccess
A list of constraint violations.
Methods
addAll(ConstraintViolationListInterface $otherList)
Merges an existing violation list into this list.
get(int $offset)
Returns the violation at a given offset.
bool
has(int $offset)
Returns whether the given offset exists.
remove(int $offset)
Removes a violation at a given offset.
Details
at line line 26
add(ConstraintViolationInterface $violation)
Adds a constraint violation to this list.
at line line 33
addAll(ConstraintViolationListInterface $otherList)
Merges an existing violation list into this list.
at line line 44
ConstraintViolationInterface
get(int $offset)
Returns the violation at a given offset.
at line line 53
bool
has(int $offset)
Returns whether the given offset exists.
at line line 61
set(int $offset, ConstraintViolationInterface $violation)
Sets a violation at a given offset.
at line line 68
remove(int $offset)
Removes a violation at a given offset.