morphTo(); } protected function path(): Attribute { return Attribute::make( get: fn($value) => $value == null ? null : Storage::disk('public')->url($value) ); } }