$routes->pattern()
Builds the full routing pattern with the given prefix
$routes->pattern(array|string $pattern): array|string
Parameters
| Name | Type | Default |
|---|---|---|
| $patternrequired | arrayorstring |
no default value |
Return types
arrayorstring
Builds the full routing pattern with the given prefix
$routes->pattern(array|string $pattern): array|string
| Name | Type | Default |
|---|---|---|
| $patternrequired | arrayorstring |
no default value |
arrayorstring