You are here

public function Twig_Parser::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/Parser.php \Twig_Parser::__construct()

Constructor.

Parameters

Twig_Environment $env A Twig_Environment instance:

File

vendor/twig/twig/lib/Twig/Parser.php, line 40

Class

Twig_Parser
Default parser implementation.

Code

public function __construct(Twig_Environment $env) {
  $this->env = $env;
}