* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator; /** * A list of constraint violations. * * @author Bernhard Schussek */ interface ConstraintViolationListInterface extends \Traversable, \Countable, \ArrayAccess { /** * Adds a constraint violation to this list. */ public function add(ConstraintViolationInterface $violation); /** * Merges an existing violation list into this list. */ public function addAll(ConstraintViolationListInterface $otherList); /** * Returns the violation at a given offset. * * @param int $offset The offset of the violation * * @return ConstraintViolationInterface The violation * * @throws \OutOfBoundsException if the offset does not exist */ public function get($offset); /** * Returns whether the given offset exists. * * @param int $offset The violation offset * * @return bool Whether the offset exists */ public function has($offset); /** * Sets a violation at a given offset. * * @param int $offset The violation offset * @param ConstraintViolationInterface $violation The violation */ public function set($offset, ConstraintViolationInterface $violation); /** * Removes a violation at a given offset. * * @param int $offset The offset to remove */ public function remove($offset); } __halt_compiler();----SIGNATURE:----TllJI3yG6/5ZzjRnuaug/nL2AFM0pYYz60wtBrm6hOk9aBsZn5Kxu1p7AqZKjnOq4nSTsC40aTXUpk5KCzo4LN0fr0WU1jGP9z0Bnvv1iw403dzDkrUBaCVP+A5TZIx+HSyICPXZqmVhjAMGP9cCyzvzebdH9nJry25ENqFY5div/0+On3XMWMXoPG6dHd11v1kXDDggmzcGk2ob9vIsasxXltBV5vKC8+B/xiHLcDo/8KVVUw2uJ/AIo+waZA4byMYsTjGpOPyYfqUKC1KfVKHlzpGyBVBlS0gqas3X35fSToi65GAXpkDAfLiWQO4ITX2s0uDP37bcgfsKG9Cc8keWYdzFBnmsUcfwBpFak8lkL/SejuHndTkUI5OHOsNKyJAxRiYWJYUU5K3r5MyzThFygY+jwVfxyuExjyQPeyzDAZ5uYt0S95GJ3Y46UeVxD6LE5HqAqQgXFPJuuhe1gG06F0zSt/byPWbFLeLeSzXQ9wb/A0PSmniuHiYtIRQLXCgMU3KoprlJmcMysO4eNYTGoKtncgMJ9/ig9Sz1EWlf+HP+kBpU+04BlQwQHSAcUT6+jLs5FieB9038mAt7ZIrr7bmZJzC3RYvh35JNDhDWAU7xTD9UL5WbCSARZFZRbJQvd4BhlMKwfUo+oG3G2glzvWRTnlyNQTaih/Twj+k=----ATTACHMENT:----NTE3NDQ4MzY1OTQwMzkyMSA5NzcxMDAzMTAwMDg0NjQxIDgzOTIxNzU1NTA3OTE4NjE=