- Latest work on route base fallbacks
This commit is contained in:
1 parent
0fcff83eac
commit
124bddb238
2 files changed
+26
-24
No files matched your search
@@ -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,
|
||||
){}
|
||||
}
|
||||
Reference in new issue
Block a user