Method |
Description |
|
__construct ( array $violations = [] ) |
Creates a new constraint violation list. |
|
__toString ( ) : string |
|
|
add ( ConstraintViolation $violation ) |
Add a ConstraintViolation to this list. |
|
addAll ( ConstraintViolationList $otherList ) |
Merge an existing ConstraintViolationList into this list. |
|
count ( ) |
|
|
get ( integer $offset ) : ConstraintViolation |
Returns the violation at a given offset. |
|
getIterator ( ) |
|
|
has ( integer $offset ) : boolean |
Returns whether the given offset exists. |
|
offsetExists ( $offset ) |
|
|
offsetGet ( $offset ) |
|
|
offsetSet ( $offset, $violation ) |
|
|
offsetUnset ( $offset ) |
|
|
remove ( integer $offset ) |
Removes a violation at a given offset. |
|
set ( integer $offset, ConstraintViolation $violation ) |
Sets a violation at a given offset. |
|