[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 namespace DebugBar\DataFormatter\VarDumper; 4 5 use Symfony\Component\VarDumper\Dumper\HtmlDumper; 6 7 /** 8 * We have to extend the base HtmlDumper class in order to get access to the protected-only 9 * getDumpHeader function. 10 */ 11 class DebugBarHtmlDumper extends HtmlDumper 12 { 13 /** 14 * Resets an HTML header. 15 */ 16 public function resetDumpHeader() 17 { 18 $this->dumpHeader = null; 19 } 20 21 public function getDumpHeaderByDebugBar() { 22 // getDumpHeader is protected: 23 return str_replace('pre.sf-dump', '.phpdebugbar pre.sf-dump', $this->getDumpHeader()); 24 } 25 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |