public function getCoverAttribute($value) { return app()->staticUrl('public/img/covers/' . ($value ?: self::UNKNOWN_COVER)); }