public static function pascalCase(string $value): string
    {
        $value = ucwords(str_replace(['-', '_'], ' ', $value));
        return str_replace(' ', '', $value);
    }
public static function pascalCase(string $value): string
    {
        $value = ucwords(str_replace(['-', '_'], ' ', $value));
        return str_replace(' ', '', $value);
    }
public static function pascalCase ( string $ value ) : string { $ value = ucwords ( str_replace ( [ '-' , '_' ] , ' ' , $ value ) ) ; return str_replace ( ' ' , '' , $ value ) ; }
Pascal case.

@param string $value
@return string
Pascal case .