You are here

public function ConstraintViolation::getCause in Zircon Profile 8

Same name and namespace in other branches
  1. 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\Validator

Code

public function getCause() {
  return $this->cause;
}