$viewRoutes->pattern()
Builds the full routing pattern with the given prefix
$viewRoutes->pattern(array|string $pattern): array|string
Parameters
| Name | Type | Default |
|---|---|---|
| $patternrequired | arrayorstring |
no default value |
Return types
arrayorstring
Parent class
Kirby\Panel\Routes\ViewRoutes
inherited from Kirby\Panel\Routes\Routes