src/Viserio/Component/Support/Str.php
private static function normalizeScreamingCase(string $value): string
    {
        if (\ctype_upper(\str_replace(['_', '-'], '', $value))) {
            return \mb_strtolower($value);
        }

        return $value;
    }
private static function normalizeScreamingCase(string $value): string
    {
        if (\ctype_upper(\str_replace(['_', '-'], '', $value))) {
            return \mb_strtolower($value);
        }

        return $value;
    }
Normalize screaming snake/kebab case value to regular snake/kebab case.

@param string $value

@return string