aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template/twig/tokenparser/define.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/template/twig/tokenparser/define.php')
-rw-r--r--phpBB/includes/template/twig/tokenparser/define.php33
1 files changed, 7 insertions, 26 deletions
diff --git a/phpBB/includes/template/twig/tokenparser/define.php b/phpBB/includes/template/twig/tokenparser/define.php
index 8eb33c7ff9..83f537a1ea 100644
--- a/phpBB/includes/template/twig/tokenparser/define.php
+++ b/phpBB/includes/template/twig/tokenparser/define.php
@@ -1,31 +1,12 @@
<?php
-
-/*
- * This file is part of Twig.
- *
- * (c) 2009 Fabien Potencier
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
/**
- * Defines a variable.
- *
- * <pre>
- * {% set foo = 'foo' %}
- *
- * {% set foo = [1, 2] %}
- *
- * {% set foo = {'foo': 'bar'} %}
- *
- * {% set foo = 'foo' ~ 'bar' %}
- *
- * {% set foo, bar = 'foo', 'bar' %}
- *
- * {% set foo %}Some content{% endset %}
- * </pre>
- */
+*
+* @package phpBB3
+* @copyright (c) 2013 phpBB Group, sections (c) 2009 Fabien Potencier
+* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
+*
+*/
+
class phpbb_template_twig_tokenparser_define extends Twig_TokenParser_Set
{
public function decideBlockEnd(Twig_Token $token)