Advanced
Less than 1 minute
Advanced
Properties
actionArgs
protected array $actionArgsMethods
initialise
Initialises the advanced router.
public initialise(Router $router): boolParameters
| Parameter | Type | Description |
|---|---|---|
$router | Router |
evaluateRequest
Evaluates the request and sets the controller, action, and arguments based on the request path.
public evaluateRequest(Request $request): ?RouteParameters
| Parameter | Type | Description |
|---|---|---|
$request | Request | the request object |
evaluateAliases
Evaluates the request and sets the controller, action, and arguments based on the request path.
private evaluateAliases(string $route, array $aliases): stringParameters
| Parameter | Type | Description |
|---|---|---|
$route | string | the request path |
$aliases | array | the aliases |
findController
Finds the controller based on the given parts.
private findController(string $path, array $controllerParts): ?stringParameters
| Parameter | Type | Description |
|---|---|---|
$path | string | the name of the controller |
$controllerParts | array |
Generated by Hazaar API Doc Generator on Wed, 07 Jan 2026 11:29:59 +0000