feat: Удаление магических методов в шаблонах
This commit is contained in:
parent
18cc1cad01
commit
61b5bc1c0f
13 changed files with 148 additions and 111 deletions
10
src/View/Template.php
Normal file
10
src/View/Template.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace ctiso\View;
|
||||
|
||||
interface Template {
|
||||
/** Установка значений шаблона */
|
||||
function set(string $key, mixed $value): void;
|
||||
/** Преобразование шаблона в строку */
|
||||
function execute(): string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue