Solar_Http_Response::setContent()

public Solar_Http_Response Solar_Http_Response::setContent ( string $content )

Sets the content of the response.

Parameters

  • (string) $content: The body content of the response.

Returns

  • (Solar_Http_Response) This response object.

Description

Sets the content of the response.

While this is not strictly necessary (because $content is public), it does serve to complete the fluency of this class.



Local