public function save(Model $model) { $model->setAttribute($this->morphType, $this->morphClass); return parent::save($model); }