diff --git a/BootstrapWidgetTrait.php b/BootstrapWidgetTrait.php index a1d09cb..d0c90bf 100644 --- a/BootstrapWidgetTrait.php +++ b/BootstrapWidgetTrait.php @@ -98,4 +98,10 @@ trait BootstrapWidgetTrait $this->getView()->registerJs(implode("\n", $js)); } } -} \ No newline at end of file + + /** + * @return \yii\web\View the view object that can be used to render views or view files. + * @see yii\base\Widget::getView() + */ + abstract function getView(); +}