Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
0033d52f8f
|
|||
ab7e4fa595
|
|||
8dab80e4d9
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.3",
|
"php": ">=7.3",
|
||||||
"oxid-esales/oxideshop-ce": "6.8 - 6.13",
|
"oxid-esales/oxideshop-ce": "^6.14",
|
||||||
"maximebf/debugbar": "^1.18",
|
"maximebf/debugbar": "^1.20",
|
||||||
"ajgl/composer-symlinker": "^0.3.1",
|
"ajgl/composer-symlinker": "^0.3.1",
|
||||||
"cweagans/composer-patches": "^1.7.2"
|
"cweagans/composer-patches": "^1.7.2"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user