public function getView()
    {
        if ($this->_view === null) {
            $this->_view = Yii::$app->getView();
        }

        return $this->_view;
    }
public function getView()
    {
        if ($this->_view === null) {
            $this->_view = Yii::$app->getView();
        }

        return $this->_view;
    }
public function getView ( ) { if ( $ this -> _view === null ) { $ this -> _view = Yii :: $ app -> getView ( ) ; } return $ this -> _view ; }
Returns the view object that can be used to render views or view files.
The [[render()]] and [[renderFile()]] methods will use
this view object to implement the actual view rendering.
If not set, it will default to the "view" application component.
@return \yii\web\View the view object that can be used to render views or view files.
Returns the view object that can be used to render views or view files . The [[ render () ]] and [[ renderFile () ]] methods will use this view object to implement the actual view rendering . If not set it will default to the view application component .