Symfony\Component\Validator\ExecutionContextInterface::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.
Signature
public function getClassName()
Returns
- string|null
- The class name or null, if no class name could be found.