public getView ( ) : |
||
return | the view object that can be used to render views or view files. |
public function getView()
{
if ($this->_view === null) {
$this->_view = Yii::$app->getView();
}
return $this->_view;
}