You are here

public function ExecutionContextInterface::getClassName in Plug 7

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.

2 methods override ExecutionContextInterface::getClassName()
ExecutionContext::getClassName in lib/Symfony/validator/Symfony/Component/Validator/ExecutionContext.php
Returns the class name of the current node.
ExecutionContext::getClassName in lib/Symfony/validator/Symfony/Component/Validator/Context/ExecutionContext.php
Returns the class name of the current node.

File

lib/Symfony/validator/Symfony/Component/Validator/ExecutionContextInterface.php, line 282

Class

ExecutionContextInterface
Stores the validator's state during validation.

Namespace

Symfony\Component\Validator

Code

public function getClassName();