function ExecutionContext::getValue
Same name in this branch
- 11.1.x core/lib/Drupal/Core/Validation/ExecutionContext.php \Drupal\Core\Validation\ExecutionContext::getValue()
Overrides ExecutionContextInterface::getValue
2 calls to ExecutionContext::getValue()
- ExecutionContext::addViolation in vendor/
symfony/ validator/ Context/ ExecutionContext.php - Adds a violation at the current node of the validation graph.
- ExecutionContext::buildViolation in vendor/
symfony/ validator/ Context/ ExecutionContext.php - Returns a builder for adding a violation with extended information.
File
-
vendor/
symfony/ validator/ Context/ ExecutionContext.php, line 179
Class
- ExecutionContext
- The context used and created by {@link ExecutionContextFactory}.
Namespace
Symfony\Component\Validator\ContextCode
public function getValue() : mixed {
if ($this->value instanceof LazyProperty) {
return $this->value
->getPropertyValue();
}
return $this->value;
}