protected function renderFrontendWidget($args, $instance)
    {
        // Add the widget name.
        $instance['widgetName'] = $this->className;

        return $this->mustacheRender->render(
            $this->getTemplateName(static::$frontFileName),
            [
                'args' => $args,
                'instance' => $instance,
            ]
        );
    }
protected function renderFrontendWidget($args, $instance)
    {
        // Add the widget name.
        $instance['widgetName'] = $this->className;

        return $this->mustacheRender->render(
            $this->getTemplateName(static::$frontFileName),
            [
                'args' => $args,
                'instance' => $instance,
            ]
        );
    }
protected function renderFrontendWidget ( $ args , $ instance ) { // Add the widget name. $ instance [ 'widgetName' ] = $ this -> className ; return $ this -> mustacheRender -> render ( $ this -> getTemplateName ( static :: $ frontFileName ) , [ 'args' => $ args , 'instance' => $ instance , ] ) ; }
Render fronted widget.

@param array $args
@param array $instance
@return string
Render fronted widget .