[ticket/12509] Add example in doc block

PHPBB3-12509
This commit is contained in:
Tristan Darricau 2014-05-27 00:05:12 +02:00
parent 9a846e447b
commit 05cd25a88b

View file

@ -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
*/