feat: new frontend

This commit is contained in:
Rekryt
2025-07-02 20:40:13 +03:00
parent bda887db3c
commit 7d7c82514f
111 changed files with 5223 additions and 52 deletions

View File

@@ -23,7 +23,8 @@ abstract class AbstractController implements ControllerInterface {
* @return Response
*/
public function __invoke(): Response {
return new Response(status: $this->httpStatus, headers: $this->headers, body: $this->getBody());
$body = $this->getBody();
return new Response(status: $this->httpStatus, headers: $this->headers, body: $body);
}
abstract public function getBody(): string;