source/Internal/Review/Service/ReviewAndRatingMergingService.php
private function mapReviewAndRatingList($reviewAndRatingDataList)
    {
        $mappedReviewAndRating = new ArrayCollection();

        foreach ($reviewAndRatingDataList as $reviewAndRatingData) {
            $mappedReviewAndRating[] = $this->mapReviewAndRating($reviewAndRatingData);
        }

        return $mappedReviewAndRating;
    }
private function mapReviewAndRatingList($reviewAndRatingDataList)
    {
        $mappedReviewAndRating = new ArrayCollection();

        foreach ($reviewAndRatingDataList as $reviewAndRatingData) {
            $mappedReviewAndRating[] = $this->mapReviewAndRating($reviewAndRatingData);
        }

        return $mappedReviewAndRating;
    }
private function mapReviewAndRatingList ( $ reviewAndRatingDataList ) { $ mappedReviewAndRating = new ArrayCollection ( ) ; foreach ( $ reviewAndRatingDataList as $ reviewAndRatingData ) { $ mappedReviewAndRating [ ] = $ this -> mapReviewAndRating ( $ reviewAndRatingData ) ; } return $ mappedReviewAndRating ; }
Maps Reviews and Ratings data to Collection of ReviewAndRating view objects.

@param array $reviewAndRatingDataList

@return ArrayCollection
Maps Reviews and Ratings data to Collection of ReviewAndRating view objects .