class TextResponse implements IResponse

String output response.

Traits

Strict class for better experience.

Methods

__construct(mixed $source)

No description

mixed
getSource()

No description

void
send(IRequest $httpRequest, IResponse $httpResponse)

Sends response to output.

Details

at line 29
__construct(mixed $source)

Parameters

mixed $source

at line 38
mixed getSource()

Return Value

mixed

at line 47
void send(IRequest $httpRequest, IResponse $httpResponse)

Sends response to output.

Parameters

IRequest $httpRequest
IResponse $httpResponse

Return Value

void