src/template/twig/ViewRenderer.php
public function addLexerOptions($options)
    {
        $lexer = new \Twig_Lexer($this->twig, $options);
        $this->twig->setLexer($lexer);
    }
public function addLexerOptions($options)
    {
        $lexer = new \Twig_Lexer($this->twig, $options);
        $this->twig->setLexer($lexer);
    }
public function addLexerOptions ( $ options ) { $ lexer = new \ Twig_Lexer ( $ this -> twig , $ options ) ; $ this -> twig -> setLexer ( $ lexer ) ; }
Sets a Twig lexer options to change templates syntax
@param array $options @see self::$lexerOptions
Sets a Twig lexer options to change templates syntax