Internal
Less than 1 minute
Internal
Class Internal.
This class extends the base Controller class and provides methods to execute actions associated with routes and handle internal controller actions.
Methods
run
Executes the action associated with the given route and returns the response.
public run({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$route | Route | the route containing the action and its arguments |
runAction
Executes an internal controller action based on the provided action name.
public runAction({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$actionName | string | the name of the action to execute, in the format 'route/action' |
$actionArgs | array | Optional. An array of arguments to pass to the action. Default is an empty array. |
$namedActionArgs | bool | Optional. Whether the action arguments are named. Default is false. |
Generated by Hazaar API Doc Generator