public function widget($args, $instance)
    {
        $this->mustacheRender = App::get(MustacheRender::class);
        $this->i18n = App::get(I18n::class);
        $instance['active'] = $this->isActive();
        echo $this->renderFrontendWidget($args, $instance);
    }
public function widget($args, $instance)
    {
        $this->mustacheRender = App::get(MustacheRender::class);
        $this->i18n = App::get(I18n::class);
        $instance['active'] = $this->isActive();
        echo $this->renderFrontendWidget($args, $instance);
    }
public function widget ( $ args , $ instance ) { $ this -> mustacheRender = App :: get ( MustacheRender :: class ) ; $ this -> i18n = App :: get ( I18n :: class ) ; $ instance [ 'active' ] = $ this -> isActive ( ) ; echo $ this -> renderFrontendWidget ( $ args , $ instance ) ; }
Creating widget front-end.

@see https://codex.wordpress.org/Widgets_API
@param $args
@param $instance
Creating widget front - end .