Routes Frontend + Improvements

This commit is contained in:
2024-03-28 11:56:17 +01:00
parent 50ae32595d
commit 90e7024a73
10 changed files with 314 additions and 42 deletions

View File

@@ -4,6 +4,7 @@ namespace Core\Objects\Router;
use Core\Driver\SQL\SQL;
use Core\Objects\Context;
use Core\Objects\DatabaseEntity\Attribute\Transient;
use Core\Objects\DatabaseEntity\Route;
use Core\Objects\Search\Searchable;
use Core\Objects\Search\SearchQuery;
@@ -14,6 +15,7 @@ class StaticFileRoute extends Route {
use Searchable;
#[Transient]
private int $code;
public function __construct(string $pattern, bool $exact, string $path, int $code = 200) {