final class CallbackResponse implements Response

Callback response.

Methods

__construct(callable $callback)

No description

void
send(IRequest $httpRequest, IResponse $httpResponse)

Sends response to output.

Details

at line 29
__construct(callable $callback)

No description

Parameters

callable $callback

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

Sends response to output.

Parameters

IRequest $httpRequest
IResponse $httpResponse

Return Value

void

Traits

SmartObject