src/Response/SapiEmitter.php
private function filterHeader($header)
    {
        $filtered = str_replace('-', ' ', $header);
        $filtered = ucwords($filtered);
        return str_replace(' ', '-', $filtered);
    }
private function filterHeader($header)
    {
        $filtered = str_replace('-', ' ', $header);
        $filtered = ucwords($filtered);
        return str_replace(' ', '-', $filtered);
    }
private function filterHeader ( $ header ) { $ filtered = str_replace ( '-' , ' ' , $ header ) ; $ filtered = ucwords ( $ filtered ) ; return str_replace ( ' ' , '-' , $ filtered ) ; }
Filter a header name to wordcase

@param string $header
@return string
Filter a header name to wordcase