class TracingCallableDispatcherTracing extends TracingRoutingDispatcher implements CallableDispatcher

Methods

mixed
wrapRouteDispatch(callable $dispatch, Route $route)

Wrap the route dispatch in a tracing span.

__construct(CallableDispatcher $dispatcher)

Create a new tracing callable dispatcher instance.

mixed
dispatch(Route $route, callable $callable)

Dispatch a request to a given callable.

Details

protected mixed wrapRouteDispatch(callable $dispatch, Route $route)

Wrap the route dispatch in a tracing span.

Parameters

callable $dispatch
Route $route

Return Value

mixed

at line 15
__construct(CallableDispatcher $dispatcher)

Create a new tracing callable dispatcher instance.

Parameters

CallableDispatcher $dispatcher

at line 23
mixed dispatch(Route $route, callable $callable)

Dispatch a request to a given callable.

Parameters

Route $route
callable $callable

Return Value

mixed