Permet à l'utilisateur de se connecter

This commit is contained in:
clement committed 2022-11-22 09:30:43 +01:00
1 parent 53038a5022
commit b4f9d31c2e
11 files changed
+265 -17

No files matched your search

+5
View File
@@ -19,6 +19,11 @@ class HttpResponse
$this->viewParams = $viewParams;
}
public static function found(string $viewPath, array $viewParams = []): HttpResponse
{
return new HttpResponse(200, $viewPath, $viewParams);
}
public function render(string $viewBasePath)
{
$params = $this->viewParams;