public function Twig_Environment::setLexer

Sets the Lexer instance.

Parameters

Twig_LexerInterface A Twig_LexerInterface instance:

File

drupal/core/vendor/twig/twig/lib/Twig/Environment.php, line 435

Class

Twig_Environment
Stores the Twig configuration.

Code

public function setLexer(Twig_LexerInterface $lexer) {
  $this->lexer = $lexer;
}