public function ExecutionContext::getClassName in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/validator/ExecutionContext.php \Symfony\Component\Validator\ExecutionContext::getClassName()
- 8 vendor/symfony/validator/Context/ExecutionContext.php \Symfony\Component\Validator\Context\ExecutionContext::getClassName()
- 8 core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php \Drupal\Core\TypedData\Validation\ExecutionContext::getClassName()
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Context/ExecutionContext.php \Symfony\Component\Validator\Context\ExecutionContext::getClassName()
Returns the class name of the current node.
If the metadata of the current node does not implement {@link ClassBasedInterface} or if no metadata is available for the current node, this method returns null.
Return value
string|null The class name or null, if no class name could be found.
Overrides ExecutionContextInterface::getClassName
File
- vendor/
symfony/ validator/ Context/ ExecutionContext.php, line 295
Class
- ExecutionContext
- The context used and created by {@link ExecutionContextFactory}.
Namespace
Symfony\Component\Validator\ContextCode
public function getClassName() {
return $this->metadata instanceof ClassBasedInterface ? $this->metadata
->getClassName() : null;
}