- Latest work on route base fallbacks

This commit is contained in:
mcndave committed 2023-11-17 22:38:26 -05:00
1 parent 0fcff83eac
commit 124bddb238
2 files changed
+26 -24

No files matched your search

+2 -1
View File
@@ -6,6 +6,7 @@ namespace Notes\Route\Attribute\Object;
class Route implements \Notes\Attribute {
public function __construct(
public string|array $method = [ "GET", "POST" ],
public string $base = "",
# NULL will fallback on nearest base
public null|string $base = null,
){}
}