original_string: public function renderBadge($template)
      {
          $tpl = $this->getTwig()->createTemplate($template);
  
          return $tpl->render(['app' => Yii::$app]);
      }
code: public function renderBadge($template)
      {
          $tpl = $this->getTwig()->createTemplate($template);
  
          return $tpl->render(['app' => Yii::$app]);
      }
code_tokens: public function renderBadge ( $ template ) { $ tpl = $ this -> getTwig ( ) -> createTemplate ( $ template ) ; return $ tpl -> render ( [ 'app' => Yii :: $ app ] ) ; }
docstring: Render badge by given template.
  @param string $template string to render
  @return string
docstring_tokens: Render badge by given template .