ConstraintViolationList::remove()

remove(int $offset) Removes a violation at a given offset. Parameters int $offset The offset to remove

ConstraintViolationListInterface

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. se

ConstraintViolationList::count()

count() {@inheritdoc}

ConstraintViolationList::offsetGet()

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

ConstraintViolationList::addAll()

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

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::offsetExists()

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

ConstraintViolationList::getIterator()

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

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