attributes['break'] = json_encode($value); } public function getBreakAttribute($value) { return json_decode($value, true); } public function setBreakMarkAttribute($value) { $this->attributes['break_mark'] = json_encode($value); } public function getBreakMarkAttribute($value) { return json_decode($value, true); } public function setProjectIdAttribute($value) { $this->attributes['project_id'] = json_encode($value); } public function getProjectIdAttribute($value) { return json_decode($value, true); } }