Open lyongdee opened 7 years ago
`$twig = new Twig_Environment(...);
$lexer = new Twig_Lexer($twig, array( 'tag_comment' => array('{#', '#}'), 'tag_block' => array('{%', '%}'), 'tag_variable' => array('{{', '}}'), 'interpolation' => array('#{', '}'), )); $twig->setLexer($lexer);`
???
what is it you're asking exactly? What do you want to accomplish?
`$twig = new Twig_Environment(...);
$lexer = new Twig_Lexer($twig, array( 'tag_comment' => array('{#', '#}'), 'tag_block' => array('{%', '%}'), 'tag_variable' => array('{{', '}}'), 'interpolation' => array('#{', '}'), )); $twig->setLexer($lexer);`
???