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 27
__construct(callable $callback)

No description

Parameters

callable $callback

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

Sends response to output.

Parameters

IRequest $httpRequest
IResponse $httpResponse

Return Value

void