public function setAttribute($key, $value)
{
if (array_key_exists($key, $this->jsonAttributes) !== false && !parent::hasSetMutator($key)) {
$this->setJsonAttribute($this->jsonAttributes[$key], $key, $value);
return;
}
parent::setAttribute($key, $value);
}