public function setForumParentsAttribute($value) { $this->attributes['forum_parents'] = presence($value) === null ? '' : serialize($value); }