add view for single text
This commit is contained in:
parent
5b2d85fb92
commit
68da48aedd
4 changed files with 30 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue