function PrettyPrinter::prettyPrintFile
Pretty prints a file of statements (includes the opening <?php tag if it is required).
Parameters
Node[] $stmts Array of statements:
Return value
string Pretty printed statements
1 method overrides PrettyPrinter::prettyPrintFile()
- PrettyPrinterAbstract::prettyPrintFile in vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinterAbstract.php - Pretty prints a file of statements (includes the opening <?php tag if it is required).
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinter.php, line 33
Class
Namespace
PhpParserCode
public function prettyPrintFile(array $stmts) : string;