Advanced
Less than 1 minute
Advanced
Properties
controller
public string $controller
controllerClass
public string $controllerClass
action
public string $action
actionArgs
protected array $actionArgs
Methods
exec
public exec({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$request | Request |
evaluateAliases
Evaluates the request and sets the controller, action, and arguments based on the request path.
private evaluateAliases({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$route | string | the request path |
$aliases | array | the aliases |
findController
Finds the controller based on the given parts.
private findController({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$path | string | the name of the controller |
$controllerParts | array |
Generated by Hazaar API Doc Generator