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

Breadcrumb

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

function PrettyPrinterAbstract::indent

Increase indentation level.

2 calls to PrettyPrinterAbstract::indent()
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 245

Class

PrettyPrinterAbstract

Namespace

PhpParser

Code

protected function indent() : void {
    $this->indentLevel += $this->indentWidth;
    $this->nl .= $this->indent;
}

API Navigation

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