You are here

public function ConstraintViolationAssertion::setCause in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\ConstraintViolationAssertion::setCause()

File

vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php, line 391

Class

ConstraintViolationAssertion
@internal

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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