diff --git a/src/Content.php b/src/Content.php index d8c1044..26f1365 100644 --- a/src/Content.php +++ b/src/Content.php @@ -5,6 +5,7 @@ namespace Rmphp\Content; use Rmphp\Foundation\Exceptions\AppError; use Rmphp\Foundation\TemplateInterface; +#[\AllowDynamicProperties] class Content implements TemplateInterface { /** @@ -134,4 +135,4 @@ class Content implements TemplateInterface { ob_start(); include ContentData::$template; $out = ob_get_contents(); ob_end_clean(); return $out; } -} \ No newline at end of file +}