You are here

public function ExecutionContextInterface::setNode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Context/ExecutionContextInterface.php \Symfony\Component\Validator\Context\ExecutionContextInterface::setNode()

Sets the currently validated value.

@internal Used by the validator engine. Should not be called by user code.

Parameters

mixed $value The validated value:

object|null $object The currently validated object:

MetadataInterface|null $metadata The validation metadata:

string $propertyPath The property path to the current value:

2 methods override ExecutionContextInterface::setNode()
ExecutionContext::setNode in vendor/symfony/validator/Context/ExecutionContext.php
Sets the currently validated value.
ExecutionContext::setNode in core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
Sets the currently validated value.

File

vendor/symfony/validator/Context/ExecutionContextInterface.php, line 129

Class

ExecutionContextInterface
The context of a validation run.

Namespace

Symfony\Component\Validator\Context

Code

public function setNode($value, $object, MetadataInterface $metadata = null, $propertyPath);