public function ConstraintViolationListInterface::set in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/ConstraintViolationListInterface.php \Symfony\Component\Validator\ConstraintViolationListInterface::set()
Sets a violation at a given offset.
Parameters
int $offset The violation offset.:
ConstraintViolationInterface $violation The violation.:
1 method overrides ConstraintViolationListInterface::set()
- ConstraintViolationList::set in vendor/
symfony/ validator/ ConstraintViolationList.php - Sets a violation at a given offset.
File
- vendor/
symfony/ validator/ ConstraintViolationListInterface.php, line 61
Class
- ConstraintViolationListInterface
- A list of constraint violations.
Namespace
Symfony\Component\ValidatorCode
public function set($offset, ConstraintViolationInterface $violation);