class CoreRouter extends Router

Methods

Response|JsonResponse
dispatch(Request $request)

Dispatch the request to the application.

void
before(string|callable $callback)

Register a new "before" filter with the router.

void
after(string|callable $callback)

Register a new "after" filter with the router.

Details

at line 16
Response|JsonResponse dispatch(Request $request)

Dispatch the request to the application.

Parameters

Request $request

Return Value

Response|JsonResponse

at line 35
void before(string|callable $callback)

Register a new "before" filter with the router.

Parameters

string|callable $callback

Return Value

void

at line 46
void after(string|callable $callback)

Register a new "after" filter with the router.

Parameters

string|callable $callback

Return Value

void