public function ConstraintViolationListInterface::set in Plug 7
Sets a violation at a given offset.
@api
Parameters
int $offset The violation offset.:
ConstraintViolationInterface $violation The violation.:
1 method overrides ConstraintViolationListInterface::set()
- ConstraintViolationList::set in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ConstraintViolationList.php - Sets a violation at a given offset.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ConstraintViolationListInterface.php, line 73
Class
- ConstraintViolationListInterface
- A list of constraint violations.
Namespace
Symfony\Component\ValidatorCode
public function set($offset, ConstraintViolationInterface $violation);