/** * Get the logged in user's review of a product * * @param $productID * * @return mixed */ public function retrieveUserReview($productID) { return Review::whereUserId($this->id)->Where('product_id', $productID)->get()->unique(); }