public function setModel($eloquentModel)
{
$this->newModel = $this->app->make($eloquentModel);
if (!$this->newModel instanceof Model) {
throw new RepositoryException("Class {$this->newModel} must be an instance of Illuminate\\Database\\Eloquent\\Model");
}
return $this->model = $this->newModel;
}