$searchRoutes->action()
Wraps the given query action with additional controller code to fetch arguments from the request
$searchRoutes->action(Closure $action): Closure
Parameters
| Name | Type | Default |
|---|---|---|
| $actionrequired | Closure |
no default value |
Return type
Closure