Symfony\Component\Validator\ConstraintViolationListInterface::get
Returns the violation at a given offset.
Signature
public function get(integer
$offset )
Parameters
$offset
— integer- The offset of the violation.
Returns
- ConstraintViolationInterface
- The violation.
Errors/Exceptions
-
OutOfBoundsException
- If the offset does not exist.