function ExecutionContextInterface::getClassName
Returns the class name of the current node.
If the metadata of the current node does not implement {@link Mapping\ClassMetadataInterface} or if no metadata is available for the current node, this method returns null.
2 methods override ExecutionContextInterface::getClassName()
- ExecutionContext::getClassName in core/
lib/ Drupal/ Core/ Validation/ ExecutionContext.php - Returns the class name of the current node.
- ExecutionContext::getClassName in vendor/
symfony/ validator/ Context/ ExecutionContext.php - Returns the class name of the current node.
File
-
vendor/
symfony/ validator/ Context/ ExecutionContextInterface.php, line 242
Class
- ExecutionContextInterface
- The context of a validation run.
Namespace
Symfony\Component\Validator\ContextCode
public function getClassName() : ?string;