变更
This commit is contained in:
+10
-1
@@ -5,7 +5,7 @@ namespace Kiri\Router\Annotate;
|
||||
|
||||
use Exception;
|
||||
use Kiri\Router\Constrict\RequestMethod;
|
||||
use Kiri\Router\AnnotateRouteInterface;
|
||||
use Kiri\Router\InjectRouteInterface;
|
||||
use Kiri\Router\Router;
|
||||
use ReflectionException;
|
||||
|
||||
@@ -15,6 +15,15 @@ class Delete extends AbstractRequestMethod implements InjectRouteInterface
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param string $path
|
||||
*/
|
||||
public function __construct(readonly public string $path)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param object $class
|
||||
* @param string $method
|
||||
|
||||
Reference in New Issue
Block a user