Play around with the rendering

This commit is contained in:
Tim
2023-08-15 13:56:04 +02:00
parent 24683e70a8
commit 18848e041f
7 changed files with 43 additions and 18 deletions

14
app/View/RouteView.php Normal file
View File

@ -0,0 +1,14 @@
<?php
namespace App\View;
use Ardent\Undercurrent\Http\RouterConfig;
use Ardent\Undercurrent\View\BaseView;
class RouteView extends BaseView
{
public function __construct(protected readonly RouterConfig $routes)
{
parent::__construct('/routes.php', extends: '/base');
}
}