chore: lots of changes

This commit is contained in:
2025-05-24 07:09:22 +02:00
parent 77ee769d5e
commit 899227b0a4
178 changed files with 5145 additions and 53 deletions

View File

@@ -0,0 +1,14 @@
<?php
namespace App\Framework\View;
final readonly class RenderContext
{
public function __construct(
public string $template, // Dateiname oder Template-Key
public array $data = [], // Variablen wie ['title' => '...']
public ?string $layout = null, // Optionales Layout
public array $slots = [], // Benannte Slots wie ['main' => '<p>...</p>']
public ?string $controllerClass = null
) {}
}