feat: Удаление магических методов в шаблонах

This commit is contained in:
origami11@yandex.ru 2025-12-02 19:43:10 +03:00
parent 18cc1cad01
commit 61b5bc1c0f
13 changed files with 148 additions and 111 deletions

10
src/View/Template.php Normal file
View file

@ -0,0 +1,10 @@
<?php
namespace ctiso\View;
interface Template {
/** Установка значений шаблона */
function set(string $key, mixed $value): void;
/** Преобразование шаблона в строку */
function execute(): string;
}