final class TextResponse implements Response

String output response.

Methods

__construct(mixed $source)

No description

mixed
getSource()

No description

void
send(IRequest $httpRequest, IResponse $httpResponse)

Sends response to output.

Details

at line 25
__construct(mixed $source)

No description

Parameters

mixed $source

at line 31
mixed getSource()

No description

Return Value

mixed

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

Sends response to output.

Parameters

IRequest $httpRequest
IResponse $httpResponse

Return Value

void

Traits

Strict class for better experience.