original_string: public function run()
      {
          if ($this->toggleButtonOptions !== false) {
              $html[] = $this->renderToggleButton();
          }
          $html[] = $this->renderItems($this->items, $this->options);
          return implode("\n", $html);
      }
code: public function run()
      {
          if ($this->toggleButtonOptions !== false) {
              $html[] = $this->renderToggleButton();
          }
          $html[] = $this->renderItems($this->items, $this->options);
          return implode("\n", $html);
      }
code_tokens: public function run ( ) { if ( $ this -> toggleButtonOptions !== false ) { $ html [ ] = $ this -> renderToggleButton ( ) ; } $ html [ ] = $ this -> renderItems ( $ this -> items , $ this -> options ) ; return implode ( "\n" , $ html ) ; }
docstring: Renders the widget and registers the plugin asset.
  
  @return string the result of widget execution to be outputted.
  @throws InvalidConfigException
  @see \macgyer\yii2materializecss\lib\MaterializeWidgetTrait|MaterializeWidgetTrait
docstring_tokens: Renders the widget and registers the plugin asset .