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

Breadcrumb

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

function ServerDumpCommand::__construct

Overrides Command::__construct

File

vendor/symfony/var-dumper/Command/ServerDumpCommand.php, line 44

Class

ServerDumpCommand
Starts a dump server to collect and output dumps on a single place with multiple formats support.

Namespace

Symfony\Component\VarDumper\Command

Code

public function __construct(DumpServer $server, array $descriptors = []) {
    $this->descriptors = $descriptors + [
        'cli' => new CliDescriptor(new CliDumper()),
        'html' => new HtmlDescriptor(new HtmlDumper()),
    ];
    parent::__construct();
}
RSS feed
Powered by Drupal