Router
Less than 1 minute
Router
interface RouterMethods
addRoute
Adds a route to the router.
public addRoute(Route $route): voidThis method sets the router for the given route and then adds the route to the list of routes managed by this router.
Parameters
| Parameter | Type | Description |
|---|---|---|
$route | Route |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:25 +0000