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

Breadcrumb

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

function AbstractDumper::echoLine

Generic line dumper callback.

1 call to AbstractDumper::echoLine()
AbstractDumper::setOutput in vendor/symfony/var-dumper/Dumper/AbstractDumper.php
Sets the output destination of the dumps.

File

vendor/symfony/var-dumper/Dumper/AbstractDumper.php, line 172

Class

AbstractDumper
Abstract mechanism for dumping a Data object.

Namespace

Symfony\Component\VarDumper\Dumper

Code

protected function echoLine(string $line, int $depth, string $indentPad) : void {
    if (-1 !== $depth) {
        fwrite($this->outputStream, str_repeat($indentPad, $depth) . $line . "\n");
    }
}

API Navigation

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