public function ConstraintViolation::getCause in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/ConstraintViolation.php \Symfony\Component\Validator\ConstraintViolation::getCause()
Returns the cause of the violation.
Return value
mixed
File
- vendor/
symfony/ validator/ ConstraintViolation.php, line 231
Class
- ConstraintViolation
- Default implementation of {@ConstraintViolationInterface}.
Namespace
Symfony\Component\ValidatorCode
public function getCause() {
return $this->cause;
}