public function setCoverAttribute($value) { $this->attributes['cover'] = $value ?: self::UNKNOWN_COVER; }