public function updateAttribute($attribute, $value)
{
if ($this->exists && $this->query->getConnection()->modReplace($this->getDn(), [$attribute => $value])) {
// If the models attribute was successfully updated,
// we'll re-sync the models attributes.
$this->syncRaw();
return true;
}
return false;
}