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

Breadcrumb

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

function DumpServer::__construct

File

vendor/symfony/var-dumper/Server/DumpServer.php, line 34

Class

DumpServer
A server collecting Data clones sent by a ServerDumper.

Namespace

Symfony\Component\VarDumper\Server

Code

public function __construct(string $host, ?LoggerInterface $logger = null) {
    if (!str_contains($host, '://')) {
        $host = 'tcp://' . $host;
    }
    $this->host = $host;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal