public function ConstraintViolationListInterface::get in Plug 7
Returns the violation at a given offset.
@api
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 lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ConstraintViolationList.php - Returns the violation at a given offset.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ConstraintViolationListInterface.php, line 52
Class
- ConstraintViolationListInterface
- A list of constraint violations.
Namespace
Symfony\Component\ValidatorCode
public function get($offset);