public function setLexerOptions($options) { $lexer = new \Twig_Lexer($this->twig, $options); $this->twig->setLexer($lexer); }