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

Breadcrumb

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

function PrettyPrinterAbstract::outdent

Decrease indentation level.

2 calls to PrettyPrinterAbstract::outdent()
PrettyPrinterAbstract::pCommaSeparatedMultiline in vendor/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php
Pretty prints a comma-separated list of nodes in multiline style, including comments.
PrettyPrinterAbstract::pStmts in vendor/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php
Pretty prints an array of nodes (statements) and indents them optionally.

File

vendor/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php, line 253

Class

PrettyPrinterAbstract

Namespace

PhpParser

Code

protected function outdent() : void {
    assert($this->indentLevel >= $this->indentWidth);
    $this->setIndentLevel($this->indentLevel - $this->indentWidth);
}

API Navigation

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