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 Tue, 21 Apr 2026 04:00:25 +0000