You are here

public function ConstraintViolationAssertion::setCode 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::setCode()

File

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

Class

ConstraintViolationAssertion
@internal

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function setCode($code) {
  $this->code = $code;
  return $this;
}