chore: complete update
This commit is contained in:
@@ -5,15 +5,13 @@ declare(strict_types=1);
|
||||
namespace App\Framework\Router;
|
||||
|
||||
use App\Framework\Core\DynamicRoute;
|
||||
use App\Framework\Core\Route;
|
||||
use App\Framework\Core\StaticRoute;
|
||||
|
||||
final readonly class RouteMatchSuccess implements RouteMatch
|
||||
{
|
||||
#public string $controller;
|
||||
#public string $action;
|
||||
#public array $params;
|
||||
public function __construct(
|
||||
public DynamicRoute|StaticRoute $route
|
||||
public Route $route
|
||||
) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user