code: public function getCompiler()
      {
          @trigger_error(sprintf('The %s() method is deprecated since version 1.25 and will be removed in 2.0.', __FUNCTION__), E_USER_DEPRECATED);
  
          if (null === $this->compiler) {
              $this->compiler = new Twig_Compiler($this);
          }
  
          return $this->compiler;
      }
docs: Gets the Compiler instance.
  
  @return Twig_CompilerInterface
  
  @deprecated since 1.25 (to be removed in 2.0)