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