ADD: Set routes.

This commit is contained in:
lukibeg 2025-10-16 13:21:05 -03:00
parent 69cbf43feb
commit 2220051470
2 changed files with 7 additions and 13 deletions

View File

@ -1,13 +0,0 @@
<?php
namespace Routes;
class Router
{
public function __construct() {}
public function setRoute() {}
public function getRoute() {}
}

7
routes/api.php Normal file
View File

@ -0,0 +1,7 @@
<?php
namespace Routes;
use App\Controllers\ReportController;
$router->setRoute('GET', '/api/v1/reports', [ReportController::class, 'show']);