function HtmlDumper::__construct
Overrides CliDumper::__construct
File
-
vendor/
symfony/ var-dumper/ Dumper/ HtmlDumper.php, line 79
Class
- HtmlDumper
- HtmlDumper dumps variables as HTML.
Namespace
Symfony\Component\VarDumper\DumperCode
public function __construct($output = null, ?string $charset = null, int $flags = 0) {
AbstractDumper::__construct($output, $charset, $flags);
$this->dumpId = 'sf-dump-' . mt_rand();
$this->displayOptions['fileLinkFormat'] = \ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format');
$this->styles = static::$themes['dark'] ?? self::$themes['dark'];
}