Route
Less than 1 minute
Route
interface RouteMethods
middleware
Attach middleware to the route.
public middleware(string $middleware, mixed $args): selfParameters
| Parameter | Type | Description |
|---|---|---|
$middleware | string | |
$args | mixed |
auth
Attach an authentication adapter to the route.
public auth(?Adapter $adapter, mixed $args): selfParameters
| Parameter | Type | Description |
|---|---|---|
$adapter | Adapter | |
$args | mixed |
Generated by Hazaar API Doc Generator on Fri, 05 Jun 2026 06:08:15 +0000