Neos\Flow\ObjectManagement\ObjectManager::getClassNameByObjectName PHP Method

getClassNameByObjectName() public method

Returns the implementation class name for the specified object
public getClassNameByObjectName ( string $objectName ) : string
$objectName string The object name
return string The class name corresponding to the given object name or FALSE if no such object is registered
    public function getClassNameByObjectName($objectName)
    {
        if (!isset($this->objects[$objectName])) {
            return class_exists($objectName) ? $objectName : false;
        }
        return isset($this->objects[$objectName]['c']) ? $this->objects[$objectName]['c'] : $objectName;
    }