From: Fabien Potencier Date: Sat, 12 Jun 2010 13:05:37 +0000 (+0200) Subject: updated phpdoc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=fcd97c61f02af26a20192cac3a37331fa8ea3c00;p=web%2Fkonrad%2Ftwig.git updated phpdoc --- diff --git a/lib/Twig/Environment.php b/lib/Twig/Environment.php index 2e17ed8..57c4808 100644 --- a/lib/Twig/Environment.php +++ b/lib/Twig/Environment.php @@ -37,29 +37,32 @@ class Twig_Environment * Available options: * * * debug: When set to `true`, the generated templates have a __toString() - * method that you can use to display the generated nodes (default to - * false). + * method that you can use to display the generated nodes (default to + * false). * * * trim_blocks: Mimicks the behavior of PHP by removing the newline that - * follows instructions if present (default to false). + * follows instructions if present (default to false). * * * charset: The charset used by the templates (default to utf-8). * * * base_template_class: The base template class to use for generated - * templates (default to Twig_Template). + * templates (default to Twig_Template). * - * * cache: Can be one of three values: - * * false: disable the compilation cache (default) - * * An absolute path where to store the compiled templates + * * cache: An absolute path where to store the compiled templates, or + * false to disable compilation cache (default) * * * auto_reload: Whether to reload the template is the original source changed. - * If you don't provide the auto_reload option, it will be - * determined automatically base on the debug value. + * If you don't provide the auto_reload option, it will be + * determined automatically base on the debug value. * - * * strict_variables: Whether to ignore invalid variables in templates (default to the value of debug). + * * strict_variables: Whether to ignore invalid variables in templates + * (default to the value of debug). * - * @param Twig_LoaderInterface $loader A Twig_LoaderInterface instance - * @param array $options An array of options + * @param Twig_LoaderInterface $loader A Twig_LoaderInterface instance + * @param array $options An array of options + * @param Twig_LexerInterface $lexer A Twig_LexerInterface instance + * @param Twig_ParserInterface $parser A Twig_ParserInterface instance + * @param Twig_CompilerInterface $compiler A Twig_CompilerInterface instance */ public function __construct(Twig_LoaderInterface $loader = null, $options = array(), Twig_LexerInterface $lexer = null, Twig_ParserInterface $parser = null, Twig_CompilerInterface $compiler = null) {