You are here

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\Validator

Code

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