<?php
namespace App\Controllers;
use Config\Services;
class Home extends BaseController
{
public function __construct()
{
$viewPath = APPPATH . 'Views/standart';
Services::renderer($viewPath);
}
public function index(): string
{
// 'Views/standart/foo.php'
return view('foo');
}
}