From 153ce3f5ecbeb7622d7f9f4ad13c32d5137de6d9 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Mon, 24 Mar 2025 10:53:07 +0100 Subject: [PATCH] list template variables in collector as expandable structure --- .../Collectors/TemplateVariablesCollector.php | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/Application/Models/Collectors/TemplateVariablesCollector.php b/Application/Models/Collectors/TemplateVariablesCollector.php index 9260817..0272cb6 100644 --- a/Application/Models/Collectors/TemplateVariablesCollector.php +++ b/Application/Models/Collectors/TemplateVariablesCollector.php @@ -22,36 +22,6 @@ use OxidEsales\Eshop\Core\Registry; class TemplateVariablesCollector extends DataCollector implements Renderable { - /** - * @var bool - */ - protected $useHtmlVarDumper = true; - - /** - * Sets a flag indicating whether the Symfony HtmlDumper will be used to dump variables for - * rich variable rendering. - * - * @param bool $value - * @return $this - */ - public function useHtmlVarDumper($value = true): TemplateVariablesCollector - { - $this->useHtmlVarDumper = $value; - - return $this; - } - - /** - * Indicates whether the Symfony HtmlDumper will be used to dump variables for rich variable - * rendering. - * - * @return bool - */ - public function isHtmlVarDumperUsed() - { - return $this->useHtmlVarDumper; - } - public function __construct(protected array $templateVariables) { }