Commit 2ce9f64c authored by Carsten Brandt's avatar Carsten Brandt

better contract for BootstrapWidgetTrait

parent 4133d6b2
...@@ -98,4 +98,10 @@ trait BootstrapWidgetTrait ...@@ -98,4 +98,10 @@ trait BootstrapWidgetTrait
$this->getView()->registerJs(implode("\n", $js)); $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();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment