mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-05 06:56:51 +00:00
Update signature to acknowledge a TemplateWrapper
This commit is contained in:
committed by
GitHub
parent
58f7b22081
commit
b0cabc093c
@@ -1303,12 +1303,12 @@ function twig_test_iterable($value)
|
|||||||
/**
|
/**
|
||||||
* Renders a template.
|
* Renders a template.
|
||||||
*
|
*
|
||||||
* @param array $context
|
* @param array $context
|
||||||
* @param string|array $template The template to render or an array of templates to try consecutively
|
* @param string|array|TemplateWrapper $template The template to render or an array of templates to try consecutively
|
||||||
* @param array $variables The variables to pass to the template
|
* @param array $variables The variables to pass to the template
|
||||||
* @param bool $withContext
|
* @param bool $withContext
|
||||||
* @param bool $ignoreMissing Whether to ignore missing templates or not
|
* @param bool $ignoreMissing Whether to ignore missing templates or not
|
||||||
* @param bool $sandboxed Whether to sandbox the template or not
|
* @param bool $sandboxed Whether to sandbox the template or not
|
||||||
*
|
*
|
||||||
* @return string The rendered template
|
* @return string The rendered template
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user