You are here

public function ExecutionContextInterface::setNode in Plug 7

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:

1 method overrides ExecutionContextInterface::setNode()
ExecutionContext::setNode in lib/Symfony/validator/Symfony/Component/Validator/Context/ExecutionContext.php
Sets the currently validated value.

File

lib/Symfony/validator/Symfony/Component/Validator/Context/ExecutionContextInterface.php, line 128

Class

ExecutionContextInterface
The context of a validation run.

Namespace

Symfony\Component\Validator\Context

Code

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