original_string: protected function startTwig()
      {
          if ($this->isTwigStarted) {
              return;
          }
  
          $this->isTwigStarted = true;
  
          $markupManager = MarkupManager::instance();
          $markupManager->beginTransaction();
          $markupManager->registerTokenParsers([
              new MailPartialTokenParser
          ]);
      }
code: protected function startTwig()
      {
          if ($this->isTwigStarted) {
              return;
          }
  
          $this->isTwigStarted = true;
  
          $markupManager = MarkupManager::instance();
          $markupManager->beginTransaction();
          $markupManager->registerTokenParsers([
              new MailPartialTokenParser
          ]);
      }
code_tokens: protected function startTwig ( ) { if ( $ this -> isTwigStarted ) { return ; } $ this -> isTwigStarted = true ; $ markupManager = MarkupManager :: instance ( ) ; $ markupManager -> beginTransaction ( ) ; $ markupManager -> registerTokenParsers ( [ new MailPartialTokenParser ] ) ; }
docstring: Temporarily registers mail based token parsers with Twig.
  @return void
docstring_tokens: Temporarily registers mail based token parsers with Twig .