You are here

protected function AbstractConstraintValidatorTest::setPropertyPath 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\AbstractConstraintValidatorTest::setPropertyPath()
6 calls to AbstractConstraintValidatorTest::setPropertyPath()
ExpressionValidatorTest::testFailingExpressionAtNestedPropertyLevel in vendor/symfony/validator/Tests/Constraints/ExpressionValidatorTest.php
ExpressionValidatorTest::testFailingExpressionAtPropertyLevel in vendor/symfony/validator/Tests/Constraints/ExpressionValidatorTest.php
ExpressionValidatorTest::testFailingExpressionAtPropertyLevelWithoutRoot in vendor/symfony/validator/Tests/Constraints/ExpressionValidatorTest.php
When validatePropertyValue() is called with a class name https://github.com/symfony/symfony/pull/11498.
ExpressionValidatorTest::testSucceedingExpressionAtNestedPropertyLevel in vendor/symfony/validator/Tests/Constraints/ExpressionValidatorTest.php
ExpressionValidatorTest::testSucceedingExpressionAtPropertyLevel in vendor/symfony/validator/Tests/Constraints/ExpressionValidatorTest.php

... See full list

File

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

Class

AbstractConstraintValidatorTest
@since 2.5.3

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

protected function setPropertyPath($propertyPath) {
  $this->propertyPath = $propertyPath;
  $this->context
    ->setNode($this->value, $this->object, $this->metadata, $this->propertyPath);
}