Removes a violation at a given offset.
@api
Parameters
integer $offset The offset to remove.:
Overrides ConstraintViolationListInterface::remove
File
- drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ConstraintViolationList.php, line 103
Class
- ConstraintViolationList
- Default implementation of {@ConstraintViolationListInterface}.
Namespace
Symfony\Component\Validator
Code
public function remove($offset) {
unset($this->violations[$offset]);
}