class ConstraintViolationList implements IteratorAggregate, ConstraintViolationListInterface
Default implementation of {@ConstraintViolationListInterface}.
__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 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. | ||
getIterator() {@inheritdoc} | ||
count() {@inheritdoc} | ||
offsetExists($offset) {@inheritdoc} | ||
offsetGet($offset) {@inheritdoc} | ||
offsetSet($offset, $violation) {@inheritdoc} | ||
offsetUnset($offset) {@inheritdoc} |
Creates a new constraint violation list.
Converts the violation into a string for debugging purposes.
Adds a constraint violation to this list.
Merges an existing violation list into this list.
Returns the violation at a given offset.
Returns whether the given offset exists.
Sets a violation at a given offset.
Removes a violation at a given offset.
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Validator/ConstraintViolationList.html