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

Breadcrumb

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

function PrettyPrinter::prettyPrint

Pretty prints an array of statements.

Parameters

Node[] $stmts Array of statements:

Return value

string Pretty printed statements

1 method overrides PrettyPrinter::prettyPrint()
PrettyPrinterAbstract::prettyPrint in vendor/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php
Pretty prints an array of statements.

File

vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter.php, line 15

Class

PrettyPrinter

Namespace

PhpParser

Code

public function prettyPrint(array $stmts) : string;

API Navigation

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