14 lines
307 B
PHP
14 lines
307 B
PHP
|
<?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');
|
||
|
}
|
||
|
}
|