public function ConstraintViolation::getCause in Plug 7
Returns the cause of the violation.
Return value
mixed
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ConstraintViolation.php, line 221
Class
- ConstraintViolation
- Default implementation of {@ConstraintViolationInterface}.
Namespace
Symfony\Component\ValidatorCode
public function getCause() {
return $this->cause;
}