PHP Class Neos\Flow\Mvc\Response

Inheritance: implements Neos\Flow\Mvc\ResponseInterface
Show file Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$content string

Public Methods

Method Description
__toString ( ) : string Returns the content of the response.
appendContent ( string $content ) : void Appends content to the already existing content.
getContent ( ) : string Returns the response content without sending it.
send ( ) : void Sends the response
setContent ( string $content ) : void Overrides and sets the content of the response

Method Details

__toString() public method

Returns the content of the response.
public __toString ( ) : string
return string

appendContent() public method

Appends content to the already existing content.
public appendContent ( string $content ) : void
$content string More response content
return void

getContent() public method

Returns the response content without sending it.
public getContent ( ) : string
return string The response content

send() public method

Sends the response
public send ( ) : void
return void

setContent() public method

Overrides and sets the content of the response
public setContent ( string $content ) : void
$content string The response content
return void

Property Details

$content protected property

protected string $content
return string