class DebugBarMiddleware implements HTTPMiddleware (View source)

Methods

public
process(HTTPRequest $request, callable $delegate)

Generate response for the given request

protected
beforeRequest(HTTPRequest $request)

Track the start up of the framework boot

protected
afterRequest(HTTPRequest $request, HTTPResponse $response)

Inject DebugBar requirements for the frontend

Details

HTTPResponse process(HTTPRequest $request, callable $delegate)

Generate response for the given request

Parameters

HTTPRequest $request
callable $delegate

Return Value

HTTPResponse

protected beforeRequest(HTTPRequest $request)

Track the start up of the framework boot

Parameters

HTTPRequest $request

protected afterRequest(HTTPRequest $request, HTTPResponse $response)

Inject DebugBar requirements for the frontend

Parameters

HTTPRequest $request
HTTPResponse $response