Validates a constant name against PHP naming conventions.
public static validateConstant ( string $name ) : string | ||
$name | string | the name of the constant to test |
return | string | The validated version of the submitted constant name |
public static validateConstant ( string $name ) : string | ||
$name | string | the name of the constant to test |
return | string | The validated version of the submitted constant name |