Complete Phase 1: MVC, DB migrations, Auth, RBAC, Security, and Views

This commit is contained in:
Hamza-Ayed
2026-06-05 00:56:41 +03:00
parent 7ffbc8bafa
commit bed7624ae9
51 changed files with 3295 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace App\Middleware;
use App\Core\Request;
use App\Core\Response;
interface MiddlewareInterface
{
/**
* Handle an incoming request.
*
* @param Request $request
* @param Response $response
* @param callable $next The next middleware/action in the chain
*/
public function handle(Request $request, Response $response, callable $next): void;
}