protected function AbstractConstraintValidatorTest::setProperty in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\AbstractConstraintValidatorTest::setProperty()
6 calls to AbstractConstraintValidatorTest::setProperty()
- 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
File
- vendor/
symfony/ validator/ Tests/ Constraints/ AbstractConstraintValidatorTest.php, line 179
Class
- AbstractConstraintValidatorTest
- @since 2.5.3
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
protected function setProperty($object, $property) {
$this->object = $object;
$this->metadata = is_object($object) ? new PropertyMetadata(get_class($object), $property) : null;
$this->context
->setNode($this->value, $this->object, $this->metadata, $this->propertyPath);
}