original_string: protected function renderHelper($name, $value, ElementInterface $element)
      {
          $helper = $this->getView()->plugin($name);
          if ($helper instanceof HtmlContainer && $helper->getTagName()) {
              $this->shouldWrap = false;
              return $helper($value, $element->getAttributes());
          }
  
          $this->shouldWrap = true;
          return $helper($value);
      }
code: protected function renderHelper($name, $value, ElementInterface $element)
      {
          $helper = $this->getView()->plugin($name);
          if ($helper instanceof HtmlContainer && $helper->getTagName()) {
              $this->shouldWrap = false;
              return $helper($value, $element->getAttributes());
          }
  
          $this->shouldWrap = true;
          return $helper($value);
      }
code_tokens: protected function renderHelper ( $ name , $ value , ElementInterface $ element ) { $ helper = $ this -> getView ( ) -> plugin ( $ name ) ; if ( $ helper instanceof HtmlContainer && $ helper -> getTagName ( ) ) { $ this -> shouldWrap = false ; return $ helper ( $ value , $ element -> getAttributes ( ) ) ; } $ this -> shouldWrap = true ; return $ helper ( $ value ) ; }
docstring: Render value by helper name
  
  @param string $name
  @param mixed $value
  @param ElementInterface $element
  @return string
docstring_tokens: Render value by helper name