protected function _sendHeader($name, $value = null)
    {
        deprecationWarning(
            'Will be removed in 4.0.0'
        );

        if ($value === null) {
            header($name);
        } else {
            header("{$name}: {$value}");
        }
    }
protected function _sendHeader($name, $value = null)
    {
        deprecationWarning(
            'Will be removed in 4.0.0'
        );

        if ($value === null) {
            header($name);
        } else {
            header("{$name}: {$value}");
        }
    }
protected function _sendHeader ( $ name , $ value = null ) { deprecationWarning ( 'Will be removed in 4.0.0' ) ; if ( $ value === null ) { header ( $ name ) ; } else { header ( "{$name}: {$value}" ) ; } }
Sends a header to the client.

@param string $name the header name
@param string|null $value the header value
@return void
@deprecated 3.4.0 Will be removed in 4.0.0
Sends a header to the client .