¨4.0.1¨
This commit is contained in:
@@ -13,10 +13,12 @@ class SettingTranslation extends TranslationModel
|
||||
*/
|
||||
protected $fillable = ['value'];
|
||||
|
||||
|
||||
/**
|
||||
* Get the value of the setting.
|
||||
*
|
||||
* @param mixed $value
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function getValueAttribute($value)
|
||||
@@ -24,10 +26,12 @@ class SettingTranslation extends TranslationModel
|
||||
return unserialize($value);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set the value of the setting.
|
||||
*
|
||||
* @param mixed $value
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function setValueAttribute($value)
|
||||
|
||||
Reference in New Issue
Block a user