private function getWidgetClass(PropertyInterface $property)
    {
        if (!isset($GLOBALS['TL_FFL'][$property->getWidgetType()])) {
            return null;
        }

        $className = $GLOBALS['TL_FFL'][$property->getWidgetType()];
        if (!class_exists($className)) {
            return null;
        }

        return $className;
    }
private function getWidgetClass(PropertyInterface $property)
    {
        if (!isset($GLOBALS['TL_FFL'][$property->getWidgetType()])) {
            return null;
        }

        $className = $GLOBALS['TL_FFL'][$property->getWidgetType()];
        if (!class_exists($className)) {
            return null;
        }

        return $className;
    }
private function getWidgetClass ( PropertyInterface $ property ) { if ( ! isset ( $ GLOBALS [ 'TL_FFL' ] [ $ property -> getWidgetType ( ) ] ) ) { return null ; } $ className = $ GLOBALS [ 'TL_FFL' ] [ $ property -> getWidgetType ( ) ] ; if ( ! class_exists ( $ className ) ) { return null ; } return $ className ; }
Try to resolve the class name for the widget.

@param PropertyInterface $property The property to get the widget class name for.

@return string

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)
Try to resolve the class name for the widget .