This commit is contained in:
2026-04-21 22:14:19 +02:00
parent b86d6129c3
commit 702803d982

View File

@@ -4,7 +4,7 @@ namespace src\Controller;
abstract class BaseController
{
public function __construct(
string $templatePath = __DIR__ . '/../../templates/'
protected string $templatePath = __DIR__ . '/../../templates/'
) {}
protected function render(string $view, array $data = []): void