nativegallery/app/Controllers/NGController.php
2025-02-25 23:02:08 +03:00

19 lines
311 B
PHP

<?php
namespace App\Controllers;
use \App\Core\Page;
abstract class NGController
{
protected $page;
public function __construct()
{
$this->page = new Page();
}
protected function render(string $view, array $params = [])
{
$this->page->render($view, $params);
}
}