TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ResponseInterface Interface Reference
Inheritance diagram for ResponseInterface:
Response Response Response

Public Member Functions

 setContent ($content)
 
 appendContent ($content)
 
 getContent ()
 
 shutdown ()
 

Detailed Description

A generic and very basic response implementation

Definition at line 22 of file ResponseInterface.php.

Member Function Documentation

appendContent (   $content)

Appends content to the already existing content.

Parameters
string$contentMore response content
Returns
void

Implemented in Response.

getContent ( )

Returns the response content without sending it.

Returns
string The response content

Implemented in Response.

setContent (   $content)

Overrides and sets the content of the response

Parameters
string$contentThe response content
Returns
void

Implemented in Response.

shutdown ( )

Returns the response content without sending it.

Returns
string The response content

Implemented in Response, and Response.