final class CallbackResponse implements IResponse

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

Strict class for better experience.