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

Breadcrumb

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

function AbstractDumper::setIndentPad

Sets the indentation pad string.

Parameters

string $pad A string that will be prepended to dumped lines, repeated by nesting level:

Return value

string The previous indent pad

File

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

Class

AbstractDumper
Abstract mechanism for dumping a Data object.

Namespace

Symfony\Component\VarDumper\Dumper

Code

public function setIndentPad(string $pad) : string {
    $prev = $this->indentPad;
    $this->indentPad = $pad;
    return $prev;
}

API Navigation

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