public function model($model)
    {
        #$model = ucfirst($model).'Model';
        $modelPath = self::$instance->app->findModel($model);
        $modelClass = "App\\Model\\".$model;
        $this->model = new $modelClass();
        self::$instance->modelService = new ModelService();
        self::$instance->modelService->initialize(self::$instance->app);
        return $this->model;
        //$appModel->handleModel($controller, $method);
    }
public function model($model)
    {
        #$model = ucfirst($model).'Model';
        $modelPath = self::$instance->app->findModel($model);
        $modelClass = "App\\Model\\".$model;
        $this->model = new $modelClass();
        self::$instance->modelService = new ModelService();
        self::$instance->modelService->initialize(self::$instance->app);
        return $this->model;
        //$appModel->handleModel($controller, $method);
    }
public function model ( $ model ) { #$model = ucfirst($model).'Model';
 $ modelPath = self :: $ instance -> app -> findModel ( $ model ) ; $ modelClass = "App\\Model\\" . $ model ; $ this -> model = new $ modelClass ( ) ; self :: $ instance -> modelService = new ModelService ( ) ; self :: $ instance -> modelService -> initialize ( self :: $ instance -> app ) ; return $ this -> model ; //$appModel->handleModel($controller, $method);
 }
Create Instance of Model.

@param  string   $model   View to use for rendering

@return \{App}\Model\{Name}Model
Create Instance of Model .