public static function createElement(UtilityContext $context, string $elementName, ?string ...$parameters)
    {
        /* Note: no return type to enable type-hinting */

        if (self::$factory === null) {
            self::$factory = self::getFactory(self::$installType);
        }

        return self::$factory::createElement($context, $elementName, ...$parameters);
    }
public static function createElement(UtilityContext $context, string $elementName, ?string ...$parameters)
    {
        /* Note: no return type to enable type-hinting */

        if (self::$factory === null) {
            self::$factory = self::getFactory(self::$installType);
        }

        return self::$factory::createElement($context, $elementName, ...$parameters);
    }
public static function createElement ( UtilityContext $ context , string $ elementName , ? string ... $ parameters ) { /* Note: no return type to enable type-hinting */ if ( self :: $ factory === null ) { self :: $ factory = self :: getFactory ( self :: $ installType ) ; } return self :: $ factory :: createElement ( $ context , $ elementName , ... $ parameters ) ; }
Creates a Element object based on given Element Name.

@param UtilityContext $context
@param string $elementName Name of the Element to creator
Creates a Element object based on given Element Name .