belongsTo(ProductReviewProxy::modelClass()); } /** * Get image url for the review image. */ public function url(): string { return Storage::url($this->path); } /** * Get image url for the review image. */ public function getUrlAttribute(): string { return $this->url(); } /** * Create a new factory instance for the model. */ protected static function newFactory(): Factory { return ProductReviewAttachmentFactory::new(); } }