luya\tag\BaseTag::getView PHP Method

getView() public method

Get the view object to register assets in tags.
public getView ( ) : luya\web\View
return luya\web\View
    public function getView()
    {
        if ($this->_view === null) {
            $this->_view = Yii::$app->getView();
        }
        return $this->_view;
    }
BaseTag