mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
[ticket/12957] Update the constructions of the template engine
PHPBB3-12957
This commit is contained in:
@@ -15,6 +15,11 @@ namespace phpbb\template\twig;
|
||||
|
||||
class lexer extends \Twig_Lexer
|
||||
{
|
||||
public function set_environment(\Twig_Environment $env)
|
||||
{
|
||||
$this->env = $env;
|
||||
}
|
||||
|
||||
public function tokenize($code, $filename = null)
|
||||
{
|
||||
// Our phpBB tags
|
||||
|
Reference in New Issue
Block a user