public function model($modelName = null) { $this->modelName = $modelName; $this->resetScope(); $this->makeModel(); return $this; }