Streamline view rendering

This commit is contained in:
Tim
2023-08-15 13:37:03 +02:00
parent 45797ba20a
commit 24683e70a8
6 changed files with 37 additions and 9 deletions

View File

@ -72,9 +72,11 @@ class BaseKernel
echo $response->getBody();
echo '<pre>';
foreach ($log->getLogs() as $log) {
echo sprintf('<p>%s</p>', $log);
echo sprintf('%s<br>', $log);
}
echo '</pre>';
}
protected function addControllers(ContainerInterface $container, array $controllers): void