(:all)
Matches all characters including slashes
Example
return [
'routes' => [
[
'pattern' => '/projects/(:all)',
'action' => function (string $path) {
// react to requests
}
]
]
];
Matches all characters including slashes
return [
'routes' => [
[
'pattern' => '/projects/(:all)',
'action' => function (string $path) {
// react to requests
}
]
]
];