public function ConstraintViolationListInterface::get in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/ConstraintViolationListInterface.php \Symfony\Component\Validator\ConstraintViolationListInterface::get()
Returns the violation at a given offset.
Parameters
int $offset The offset of the violation.:
Return value
ConstraintViolationInterface The violation.
Throws
\OutOfBoundsException If the offset does not exist.
1 method overrides ConstraintViolationListInterface::get()
- ConstraintViolationList::get in vendor/
symfony/ validator/ ConstraintViolationList.php - Returns the violation at a given offset.
File
- vendor/
symfony/ validator/ ConstraintViolationListInterface.php, line 44
Class
- ConstraintViolationListInterface
- A list of constraint violations.
Namespace
Symfony\Component\ValidatorCode
public function get($offset);