Configuration
whereAlphaNumeric()
Signature
Section titled “Signature”whereAlphaNumeric() — returns struct
Available in: mapper
Category: Routing
Description
Section titled “Description”Constrain a route variable to only match alphanumeric characters (a-zA-Z0-9). Similar to Laravel’s whereAlphaNumeric().
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
variableName | string | yes | — | The route variable name to constrain. Can also be a comma-delimited list. |