Symfony\Component\Validator\ConstraintViolationListInterface
A list of constraint violations.
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
interface ConstraintViolationListInterface
extends Traversable, Countable, ArrayAccess
{
- // methods
- public void add()
- public void addAll()
- public ConstraintViolationInterface get()
- public Boolean has()
- public void set()
- public void remove()
- // Inherited methods from Countable
- public int count()
- // Inherited methods from ArrayAccess
- public boolean offsetExists()
- public mixed offsetGet()
- public void offsetSet()
- public void offsetUnset()
Hierarchy
Extends
Implemented by
Methods
public
- add() — Adds a constraint violation to this list.
- addAll() — Merges an existing violation list into this list.
- get() — Returns the violation at a given offset.
- has() — Returns whether the given offset exists.
- remove() — Removes a violation at a given offset.
- set() — Sets a violation at a given offset.
Inherited from Countable
public
- count() — Count elements of an object
Inherited from ArrayAccess
public
- offsetExists() — Whether a offset exists
- offsetGet() — Offset to retrieve
- offsetSet() — Offset to set
- offsetUnset() — Offset to unset