In the below file, it is stated that the $template variable is available in all BareUI templates for rendering partials and states to call the render method on this variable. Unfortunately, this variable contains a string value, specifically static::class which resolves to "Leaf\BareUI". Perhaps you meant to use the scope resolution operator (::) here instead since render is a static method?
|
<?php echo $template->render('partials/header'); ?> |
|
echo $template->render('partials/footer', [ |
In the below file, it is stated that the
$templatevariable is available in all BareUI templates for rendering partials and states to call therendermethod on this variable. Unfortunately, this variable contains a string value, specificallystatic::classwhich resolves to "Leaf\BareUI". Perhaps you meant to use the scope resolution operator (::) here instead sincerenderis a static method?docs/src/docs/frontend/bareui.md
Line 204 in 15cc5da
docs/src/docs/frontend/bareui.md
Line 209 in 15cc5da