This commit is contained in:
2023-07-25 10:09:06 +08:00
parent e832a2721c
commit 00cd571ffe
7 changed files with 24 additions and 50 deletions
+5 -4
View File
@@ -12,10 +12,11 @@ class Route extends AbstractRequestMethod implements InjectRouteInterface
{
/**
* @param string $path
* @param RequestMethod $method
*/
/**
* @param string $path
* @param RequestMethod $method
* @param string $version
*/
public function __construct(readonly public string $path, readonly public RequestMethod $method, readonly public string $version = 'v1')
{
}