CoreRouter
class Winter\Storm\Router\CoreRouter
extends Illuminate\Routing\Router
Extends
Class | Description |
---|---|
Illuminate\Routing\Router
|
Methods
public after (string | callable $callback) : void
Register a new "after" filter with the router.
Parameters
Property | Type | Description |
---|---|---|
$callback | string | callable |
string | callable
|
Returns
void
public before (string | callable $callback) : void
Register a new "before" filter with the router.
Parameters
Property | Type | Description |
---|---|---|
$callback | string | callable |
string | callable
|
Returns
void
public dispatch (Illuminate\Http\Request $request) : Symfony\Component\HttpFoundation\Response
Dispatch the request to the application.
Parameters
Property | Type | Description |
---|---|---|
$request | Illuminate\Http\Request |
Illuminate\Http\Request
|
Returns
Symfony\Component\HttpFoundation\Response
Copyright © 2024 Winter CMS