mirror of
https://github.com/claradex/nativegallery.git
synced 2025-03-28 20:28:24 +03:00
19 lines
311 B
PHP
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);
|
|
}
|
|
}
|