* * 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:----vfKLM0R0nbkvTurIuUn/QoVr1acysYB+z5p1n3wzODw4hS+Icp7MbdRY8mKECYaRdLMOFFsEGa6JIvs66WTbV2iRM1+OpItGWHw7IzcN8YfqkQjcI7Dk0TObpVCYfSzL6oQyBmctap7VoijHu3N/0llakEnaeDQoGAfK9Rn5dOq2OclndpxbWDOGziXEdjYHqn2rxAytM5v2tnQy3tOC/lnXqxceTA01F8z0s6CYyz27MiBFBcjxXeWFvMokqsUjG/7+eVFhFze23NEqdyOCX+Jbus4jVYokfUhYwdNnXZPQRUDZFkkLUB8JmU++fQ0HwfDRmo4aQCueBGGWfq4t7+lKQjDUWZAXXlbu/jIOIcpBhK4FZOyFpvymfMy7VwvaIo0pe3CHSWlLDqcLzazcVFDwANi6twv+fQNXHV050or8h3D3KhkTqTxPwYSouZiROHMztAQ9S9nDXxW1pRFYHmKUMGvdlHiQMrFj8D752kT68kNWoogndeAu0t57IEhnnyH8kjA4PUIy6FK2Cb2jxuC7OHSpV+JpVgiIS6QmtIqkAFNfodmisEkFXIyKPe0Fv8vf8iCvPz+YPe0CPOG+Yz8xMWDBRNjCCRpuP1Fg3spXU9e3yDBDPSaXyB/cNGaTlux+8FIgye9kXOGye+VRbxzScBioJP116rn86+Vq5Zg=----ATTACHMENT:----MTYxMTE3NDQ2MTg5MzM0IDg4NDMwMjk0MDU2MDk4NjggMzcxNTg0NTM5OTAyNDI2Mw==