Sets the Compiler instance.
Twig_CompilerInterface $compiler A Twig_CompilerInterface instance:
public function setCompiler(Twig_CompilerInterface $compiler) { $this->compiler = $compiler; }