add view for single text

This commit is contained in:
Yisroel Baum 2026-04-17 09:22:55 +03:00
parent 5b2d85fb92
commit 68da48aedd
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
4 changed files with 30 additions and 0 deletions

View file

@ -21,4 +21,12 @@ class ViewController
return $response;
}
public function text(Response $response): Response
{
$html = file_get_contents(__DIR__.'/../../views/templates/text.php', true);
$response->getBody()->write($html);
return $response;
}
}