public static function setHeader(array $message, $header, array $value)
    {
        $message = self::removeHeader($message, $header);
        $message['headers'][$header] = $value;

        return $message;
    }
public static function setHeader(array $message, $header, array $value)
    {
        $message = self::removeHeader($message, $header);
        $message['headers'][$header] = $value;

        return $message;
    }
public static function setHeader ( array $ message , $ header , array $ value ) { $ message = self :: removeHeader ( $ message , $ header ) ; $ message [ 'headers' ] [ $ header ] = $ value ; return $ message ; }
Replaces any existing case insensitive headers with the given value.

@param array  $message Message that contains 'headers'
@param string $header  Header to set.
@param array  $value   Value to set.

@return array
Replaces any existing case insensitive headers with the given value .