make SmartyCollector class compatible to parent class
Cette révision appartient à :
Parent
8dab80e4d9
révision
ab7e4fa595
@ -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
|
||||
*/
|
||||
|
Chargement…
x
Référencer dans un nouveau ticket
Bloquer un utilisateur