make SmartyCollector class compatible to parent class
This commit is contained in:
parent
8dab80e4d9
commit
ab7e4fa595
@ -26,36 +26,6 @@ class SmartyCollector extends DataCollector implements Renderable
|
|||||||
/** @var Smarty */
|
/** @var Smarty */
|
||||||
protected $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
|
* @param Smarty $smarty
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user