original_string: private function createTwigEnvironment()
      {
          $twigEnv = new Twig_Environment(
              $this->getLoader(),
              $this->getOptions()
          );
  
          if ($this->options['debug']) {
              $twigEnv->addExtension(new Twig_Extension_Debug());
          }
  
          return $twigEnv;
      }
code: private function createTwigEnvironment()
      {
          $twigEnv = new Twig_Environment(
              $this->getLoader(),
              $this->getOptions()
          );
  
          if ($this->options['debug']) {
              $twigEnv->addExtension(new Twig_Extension_Debug());
          }
  
          return $twigEnv;
      }
code_tokens: private function createTwigEnvironment ( ) { $ twigEnv = new Twig_Environment ( $ this -> getLoader ( ) , $ this -> getOptions ( ) ) ; if ( $ this -> options [ 'debug' ] ) { $ twigEnv -> addExtension ( new Twig_Extension_Debug ( ) ) ; } return $ twigEnv ; }
docstring: Creates the twig environment
  
  @return Twig_Environment
docstring_tokens: Creates the twig environment