src/ngrest/base/Controller.php
public function getModel()
    {
        if ($this->_model === null) {
            $this->_model = Yii::createObject($this->modelClass);
        }

        return $this->_model;
    }
public function getModel()
    {
        if ($this->_model === null) {
            $this->_model = Yii::createObject($this->modelClass);
        }

        return $this->_model;
    }
public function getModel ( ) { if ( $ this -> _model === null ) { $ this -> _model = Yii :: createObject ( $ this -> modelClass ) ; } return $ this -> _model ; }
Get Model Object

@return \luya\admin\ngrest\base\NgRestModel
Get Model Object