function ConstraintViolationList::set
Overrides ConstraintViolationListInterface::set
3 calls to ConstraintViolationList::set()
- ConstraintViolationList::offsetSet in vendor/
symfony/ validator/ ConstraintViolationList.php - EntityConstraintViolationList::set in core/
lib/ Drupal/ Core/ Entity/ EntityConstraintViolationList.php - Sets a violation at a given offset.
- EntityConstraintViolationList::set in core/
lib/ Drupal/ Core/ Entity/ EntityConstraintViolationList.php - Sets a violation at a given offset.
1 method overrides ConstraintViolationList::set()
- EntityConstraintViolationList::set in core/
lib/ Drupal/ Core/ Entity/ EntityConstraintViolationList.php - Sets a violation at a given offset.
File
-
vendor/
symfony/ validator/ ConstraintViolationList.php, line 87
Class
- ConstraintViolationList
- Default implementation of {@ConstraintViolationListInterface}.
Namespace
Symfony\Component\ValidatorCode
public function set(int $offset, ConstraintViolationInterface $violation) : void {
$this->violations[$offset] = $violation;
}