From 05cd25a88b551d7338596cc6634e95cb371f565d Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Tue, 27 May 2014 00:05:12 +0200 Subject: [PATCH] [ticket/12509] Add example in doc block PHPBB3-12509 --- phpBB/phpbb/template/twig/twig.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpBB/phpbb/template/twig/twig.php b/phpBB/phpbb/template/twig/twig.php index fc6e9eacd8..9ea5121553 100644 --- a/phpBB/phpbb/template/twig/twig.php +++ b/phpBB/phpbb/template/twig/twig.php @@ -212,6 +212,10 @@ class twig extends \phpbb\template\base * Note: Templates are still compiled to phpBB's cache directory. * * @param string|array $names Array of names (or detailed names) or string of name of template(s) in inheritance tree order, used by extensions. + * E.g. array( + * 'name' => 'adm', + * 'ext_path' => 'adm/style/', + * ) * @param string|array of string $paths Array of style paths, relative to current root directory * @return \phpbb\template\template $this */