UnderCurrent/app/View/RouteView.php

14 lines
307 B
PHP
Raw Normal View History

2023-08-15 13:56:04 +02:00
<?php
namespace App\View;
2023-08-16 16:04:35 +02:00
use Ardent\Undercurrent\Http\RoutesConfig;
2023-08-15 13:56:04 +02:00
use Ardent\Undercurrent\View\BaseView;
class RouteView extends BaseView
{
2023-08-16 16:04:35 +02:00
public function __construct(protected readonly RoutesConfig $routes)
2023-08-15 13:56:04 +02:00
{
parent::__construct('/routes.php', extends: '/base');
}
}