public static function normalizeHeaderName($header)
    {
        $filtered = str_replace('-', ' ', $header);
        $filtered = ucwords($filtered);

        return str_replace(' ', '-', $filtered);
    }
public static function normalizeHeaderName($header)
    {
        $filtered = str_replace('-', ' ', $header);
        $filtered = ucwords($filtered);

        return str_replace(' ', '-', $filtered);
    }
public static function normalizeHeaderName ( $ header ) { $ filtered = str_replace ( '-' , ' ' , $ header ) ; $ filtered = ucwords ( $ filtered ) ; return str_replace ( ' ' , '-' , $ filtered ) ; }
Filter a header name to lowercase.

@param   string $header Header name to normalize.

@return  string  Normalized name.

@since   3.0
Filter a header name to lowercase .