public function afterRun($event)
    {
        echo $event->result;
        $event->result = null;

        $this->owner->view->endCache();
    }
public function afterRun($event)
    {
        echo $event->result;
        $event->result = null;

        $this->owner->view->endCache();
    }
public function afterRun ( $ event ) { echo $ event -> result ; $ event -> result = null ; $ this -> owner -> view -> endCache ( ) ; }
Outputs widget contents and ends fragment caching.

@param WidgetEvent $event `Widget::EVENT_AFTER_RUN` event.
Outputs widget contents and ends fragment caching .