make SmartyCollector class compatible to parent class

This commit is contained in:
Daniel Seifert 2025-03-23 12:52:57 +01:00
parent 8dab80e4d9
commit ab7e4fa595
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170

View File

@ -26,36 +26,6 @@ class SmartyCollector extends DataCollector implements Renderable
/** @var Smarty */
protected $smarty;
/**
* @var bool
*/
protected $useHtmlVarDumper = false;
/**
* 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(bool $value = true): SmartyCollector
{
$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(): bool
{
return $this->useHtmlVarDumper;
}
/**
* @param Smarty $smarty
*/