Add ViewHelper in view for injecting some basic classes in views

This commit is contained in:
Tim
2023-08-15 12:10:04 +02:00
parent de5ff3a2b9
commit 45797ba20a
12 changed files with 61 additions and 22 deletions

View File

@ -7,5 +7,5 @@ use Ardent\Undercurrent\Http\ResponseInterface;
interface ViewInterface
{
public function render(AppConfig $config): string;
public function render(AppConfig $config, ViewHelper $helper): string;
}