chore: lots of changes

This commit is contained in:
2025-05-24 07:09:22 +02:00
parent 77ee769d5e
commit 899227b0a4
178 changed files with 5145 additions and 53 deletions

View File

@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace App\Framework\Router;
use App\Framework\Core\DynamicRoute;
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 function isMatch(): bool
{
return true;
}
}