public function syncRaw() { $model = $this->query->newInstance()->findByDn($this->getDn()); if ($model instanceof Model) { $this->setRawAttributes($model->getAttributes()); return true; } return false; }