chore: complete update
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Framework\Router;
|
||||
|
||||
use App\Framework\Http\Method;
|
||||
use Closure;
|
||||
|
||||
final class RouteContext
|
||||
@@ -16,8 +17,8 @@ final class RouteContext
|
||||
|
||||
public function __construct(
|
||||
public readonly RouteMatch $match,
|
||||
public readonly string $method,
|
||||
public readonly string $path
|
||||
public readonly Method $method,
|
||||
public readonly string $path
|
||||
) {}
|
||||
|
||||
public function isSuccess(): bool
|
||||
|
||||
Reference in New Issue
Block a user