function ExecutionContext::setNode
Same name in this branch
- 11.1.x core/lib/Drupal/Core/Validation/ExecutionContext.php \Drupal\Core\Validation\ExecutionContext::setNode()
Overrides ExecutionContextInterface::setNode
File
-
vendor/
symfony/ validator/ Context/ ExecutionContext.php, line 116
Class
- ExecutionContext
- The context used and created by {@link ExecutionContextFactory}.
Namespace
Symfony\Component\Validator\ContextCode
public function setNode(mixed $value, ?object $object, ?MetadataInterface $metadata, string $propertyPath) : void {
$this->value = $value;
$this->object = $object;
$this->metadata = $metadata;
$this->propertyPath = $propertyPath;
}