class CallbackResponse implements IResponse

Callback response.

Traits

Strict class for better experience.

Methods

__construct(callable $callback)

No description

void
send(IRequest $httpRequest, IResponse $httpResponse)

Sends response to output.

Details

at line 29
__construct(callable $callback)

Parameters

callable $callback function (Nette\Http\IRequest $httpRequest, Nette\Http\IResponse $httpResponse): void

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

Sends response to output.

Parameters

IRequest $httpRequest
IResponse $httpResponse

Return Value

void