From 8499696021d619ffde5c6f607111a8bd704746ec Mon Sep 17 00:00:00 2001 From: nikic Date: Sat, 19 Apr 2014 22:30:20 +0200 Subject: [PATCH] Add note about prettyPrintFile() to docs --- doc/2_Usage_of_basic_components.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/2_Usage_of_basic_components.markdown b/doc/2_Usage_of_basic_components.markdown index 54aa026..67e12d8 100644 --- a/doc/2_Usage_of_basic_components.markdown +++ b/doc/2_Usage_of_basic_components.markdown @@ -164,6 +164,9 @@ again converted to code using `PhpParser\PrettyPrinter\Standard->prettyPrint()`. The `prettyPrint()` method pretty prints a statements array. It is also possible to pretty print only a single expression using `prettyPrintExpr()`. +The `prettyPrintFile()` method can be used to print an entire file. This will include the opening `