Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HtmlDumper.php

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\Dumper

Code

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'];
}
RSS feed
Powered by Drupal