public function setTrainDeckAttribute($value) { Deck::serialize($value); $this->attributes['train_deck'] = $value; }