ConstraintViolationList::offsetUnset()

offsetUnset($offset) {@inheritdoc} Parameters $offset

ConstraintViolationList::offsetSet()

offsetSet($offset, $violation) {@inheritdoc} Parameters $offset $violation

ConstraintViolationList::offsetGet()

offsetGet($offset) {@inheritdoc} Parameters $offset

ConstraintViolationList::offsetExists()

offsetExists($offset) {@inheritdoc} Parameters $offset

ConstraintViolationList::has()

bool has(int $offset) Returns whether the given offset exists. Parameters int $offset The violation offset Return Value bool Whether the offset exists

ConstraintViolationList::getIterator()

ArrayIterator|ConstraintViolationInterface[] getIterator() {@inheritdoc} Return Value ArrayIterator|ConstraintViolationInterface[]

ConstraintViolationList::count()

count() {@inheritdoc}

ConstraintViolationList::addAll()

addAll(ConstraintViolationListInterface $otherList) Merges an existing violation list into this list. Parameters ConstraintViolationListInterface $otherList The list to merge

ConstraintViolationList::add()

add(ConstraintViolationInterface $violation) Adds a constraint violation to this list. Parameters ConstraintViolationInterface $violation The violation to add

ConstraintViolationList

class ConstraintViolationList implements IteratorAggregate, ConstraintViolationListInterface Default implementation of {@ConstraintViolationListInterface}. Methods __construct(array $violations = array()) Creates a new constraint violation list. string __toString() Converts the violation into a string for debugging purposes. add(ConstraintViolationInterface $violation) Adds a constraint violation to this list. addAll(ConstraintViolationListInterface $otherList) Merges an e